fix: copy icon (migration whole list) was always migrating instead of copy

This commit is contained in:
Cuong-Tran 2024-07-27 14:24:16 +07:00
parent 1042726a74
commit 93be3f15b7
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -71,7 +71,7 @@ fun MigrationListScreen(
AppBar.Action(
title = stringResource(MR.strings.copy),
icon = if (items.size == 1) Icons.Outlined.ContentCopy else Icons.Outlined.CopyAll,
onClick = { openMigrationDialog(false) },
onClick = { openMigrationDialog(true) },
enabled = migrationDone,
),
AppBar.Action(