mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-11 11:38:56 +01:00
Prevent creating backups with no valid options selected
This commit is contained in:
@@ -26,6 +26,8 @@ data class BackupOptions(
|
||||
privateSettings,
|
||||
)
|
||||
|
||||
fun anyEnabled() = libraryEntries || appSettings || sourceSettings
|
||||
|
||||
companion object {
|
||||
val libraryOptions = persistentListOf(
|
||||
Entry(
|
||||
|
||||
Reference in New Issue
Block a user