Filter out empty source preferences when creating backups

This commit is contained in:
arkon 2023-12-30 10:38:32 -05:00
parent a1e84911be
commit 32c3269291

View File

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