From 32c3269291cd31f7a69a6d0c073b52223fa3e918 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 30 Dec 2023 10:38:32 -0500 Subject: [PATCH] Filter out empty source preferences when creating backups --- .../data/backup/create/creators/PreferenceBackupCreator.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/PreferenceBackupCreator.kt b/app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/PreferenceBackupCreator.kt index cc1a7157f..e0b8f0add 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/PreferenceBackupCreator.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/PreferenceBackupCreator.kt @@ -37,6 +37,7 @@ class PreferenceBackupCreator( .withPrivatePreferences(includePrivatePreferences), ) } + .filter { it.prefs.isNotEmpty() } } @Suppress("UNCHECKED_CAST")