This commit is contained in:
Garth Vander Houwen 2023-02-23 15:12:25 -08:00
parent 2e218c0ee9
commit 815d3aa3a0
2 changed files with 4 additions and 1 deletions

View file

@ -93,6 +93,7 @@ enum SenderIntervals: Int, CaseIterable, Identifiable {
enum UpdateIntervals: Int, CaseIterable, Identifiable {
case tenSeconds = 10
case fifteenSeconds = 15
case thirtySeconds = 30
case oneMinute = 60
@ -118,6 +119,8 @@ enum UpdateIntervals: Int, CaseIterable, Identifiable {
get {
switch self {
case .tenSeconds:
return NSLocalizedString("interval.ten.seconds", comment: "Ten Seconds")
case .fifteenSeconds:
return NSLocalizedString("interval.fifteen.seconds", comment: "Fifteen Seconds")
case .thirtySeconds:

View file

@ -80,7 +80,7 @@ struct AppSettings: View {
Toggle(isOn: $userSettings.meshMapRecentering) {
Label("map.recentering", systemImage: "rectangle.center.inset.filled")
Label("map.recentering", systemImage: "camera.metering.center.weighted")
}
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
}