Browse Source

Filter out empty source preferences when creating backups

arkon 1 year ago
parent
commit
32c3269291

+ 1 - 0
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")