mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Add circular progress
This commit is contained in:
parent
bd1f4cc6ed
commit
5f324ecde8
9 changed files with 1071 additions and 186 deletions
|
|
@ -77,3 +77,28 @@ enum LockScreenGlassStyle: String, CaseIterable, Defaults.Serializable, Identifi
|
|||
|
||||
var id: String { rawValue }
|
||||
}
|
||||
|
||||
enum LockScreenWeatherWidgetStyle: String, CaseIterable, Defaults.Serializable, Identifiable {
|
||||
case inline = "Inline"
|
||||
case circular = "Circular"
|
||||
|
||||
var id: String { rawValue }
|
||||
}
|
||||
|
||||
enum LockScreenWeatherProviderSource: String, CaseIterable, Defaults.Serializable, Identifiable {
|
||||
case wttr = "wttr.in"
|
||||
case openMeteo = "Open Meteo"
|
||||
|
||||
var id: String { rawValue }
|
||||
|
||||
var displayName: String { rawValue }
|
||||
|
||||
var supportsAirQuality: Bool {
|
||||
switch self {
|
||||
case .wttr:
|
||||
return false
|
||||
case .openMeteo:
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue