feat: added silent app update option (default from now)

This commit is contained in:
Serhiy Mytrovtsiy
2022-01-23 13:24:24 +01:00
parent 94ec6a2a41
commit 55fbc4f7f6
4 changed files with 18 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ public struct ColorValue: Equatable {
}
public enum AppUpdateInterval: String {
case silent = "Silent"
case atStart = "At start"
case separator1 = "separator_1"
case oncePerDay = "Once per day"
@@ -36,6 +37,7 @@ public enum AppUpdateInterval: String {
case never = "Never"
}
public let AppUpdateIntervals: [KeyValue_t] = [
KeyValue_t(key: "Silent", value: AppUpdateInterval.silent.rawValue),
KeyValue_t(key: "At start", value: AppUpdateInterval.atStart.rawValue),
KeyValue_t(key: "separator_1", value: "separator_1"),
KeyValue_t(key: "Once per day", value: AppUpdateInterval.oncePerDay.rawValue),