Add: Option to set sync interval (closes #263)

This commit is contained in:
machiav3lli
2022-08-03 01:40:38 +02:00
parent 5ed61120dd
commit ff64026c00
4 changed files with 36 additions and 23 deletions

View File

@ -138,6 +138,7 @@ object Preferences {
"auto_sync",
Value.EnumerationValue(Preferences.AutoSync.Wifi)
)
object AutoSyncInterval : Key<Int>("auto_sync_interval", Value.IntValue(60))
object InstallAfterSync :
Key<Boolean>("auto_sync_install", Value.BooleanValue(Android.sdk(31)))