From 93be3f15b7a56b9eed73b395a1e8b85b145a1b25 Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Sat, 27 Jul 2024 14:24:16 +0700 Subject: [PATCH] fix: copy icon (migration whole list) was always migrating instead of copy --- .../java/eu/kanade/presentation/browse/MigrationListScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/presentation/browse/MigrationListScreen.kt b/app/src/main/java/eu/kanade/presentation/browse/MigrationListScreen.kt index e223cf495..7743225cd 100644 --- a/app/src/main/java/eu/kanade/presentation/browse/MigrationListScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/browse/MigrationListScreen.kt @@ -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(