Compare commits
7 Commits
dff9f3a6f9
...
5f43e5e274
Author | SHA1 | Date |
---|---|---|
Johan Degraeve | 5f43e5e274 | |
Johan Degraeve | 517e078a5a | |
Paul Plant | 5d86d0c6bc | |
Paul Plant | d6bd5ba6e4 | |
Paul Plant | 34493c5ecc | |
Johan Degraeve | 6377df1f69 | |
Paul Plant | e2b4b1b51e |
|
@ -5,6 +5,7 @@
|
|||
Created by Paul Plant on 26/4/24.
|
||||
Copyright © 2024 Johan Degraeve. All rights reserved.
|
||||
*/
|
||||
"liveDataDisabled" = "Datos deshabilitados";
|
||||
"goTo" = "Id a";
|
||||
"appleWatch" = "Apple Watch";
|
||||
"settings" = "Configuración";
|
||||
|
|
|
@ -67,31 +67,31 @@ extension XDripWatchComplication.EntryView {
|
|||
.padding(0)
|
||||
|
||||
Text(Texts_WatchComplication.goTo)
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 12 : 14))
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 10 : 14))
|
||||
.foregroundStyle(.colorPrimary)
|
||||
|
||||
+ Text(" \(ConstantsHomeView.applicationName)")
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 12 : 14)).bold()
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 10 : 14)).bold()
|
||||
.foregroundStyle(.white)
|
||||
|
||||
+ Text(" -> ")
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 12 : 14))
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 10 : 14))
|
||||
.foregroundStyle(.colorPrimary)
|
||||
|
||||
+ Text(Texts_WatchComplication.settings)
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 12 : 14)).bold()
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 10 : 14)).bold()
|
||||
.foregroundStyle(.white)
|
||||
|
||||
+ Text(" -> ")
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 12 : 14))
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 10 : 14))
|
||||
.foregroundStyle(.colorPrimary)
|
||||
|
||||
+ Text(Texts_WatchComplication.appleWatch + " ")
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 12 : 14)).bold()
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 10 : 14)).bold()
|
||||
.foregroundStyle(.white)
|
||||
|
||||
+ Text(Texts_WatchComplication.toEnable)
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 12 : 14))
|
||||
.font(.system(size: entry.widgetState.isSmallScreen() ? 10 : 14))
|
||||
.foregroundStyle(.colorPrimary)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
enableAddressSanitizer = "YES"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
|
|
|
@ -76,6 +76,7 @@ enum ConstantsGlucoseChartSwiftUI {
|
|||
static let viewHeightWatchAccessoryRectangular: CGFloat = 55
|
||||
static let hoursToShowWatchAccessoryRectangular: Double = 5
|
||||
static let glucoseCircleDiameterWatchAccessoryRectangular: Double = 14
|
||||
static let backgroundColorWatchAccessoryRectangular: Color = .clear
|
||||
|
||||
// watch complication sizes for smaller watches
|
||||
static let viewWidthWatchAccessoryRectangularSmall: CGFloat = 160
|
||||
|
|
|
@ -144,6 +144,8 @@ public enum GlucoseChartType: Int, CaseIterable {
|
|||
switch self {
|
||||
case .siriGlucoseIntent:
|
||||
return ConstantsGlucoseChartSwiftUI.backgroundColorSiriGlucoseIntent
|
||||
case .watchAccessoryRectangular:
|
||||
return ConstantsGlucoseChartSwiftUI.backgroundColorWatchAccessoryRectangular
|
||||
default:
|
||||
return .black
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
//
|
||||
|
||||
// Version [DEFAULT]
|
||||
XDRIP_MARKETING_VERSION = 5.2.0
|
||||
CURRENT_PROJECT_VERSION = 4198
|
||||
XDRIP_MARKETING_VERSION = 5.2.1
|
||||
CURRENT_PROJECT_VERSION = 4199
|
||||
|
||||
// Optional override
|
||||
#include? "VersionOverride.xcconfig"
|
||||
|
|
Loading…
Reference in New Issue