Filter out empty source preferences when creating backups

(cherry picked from commit 32c3269291cd31f7a69a6d0c073b52223fa3e918)
This commit is contained in:
arkon 2023-12-30 10:38:32 -05:00 committed by Jobobby04
parent 54b9b4f548
commit b3f0b898b2

View File

@ -37,6 +37,7 @@ class PreferenceBackupCreator(
.withPrivatePreferences(includePrivatePreferences), .withPrivatePreferences(includePrivatePreferences),
) )
} }
.filter { it.prefs.isNotEmpty() }
} }
@Suppress("UNCHECKED_CAST") @Suppress("UNCHECKED_CAST")