From 4130e7ca0076f5ed21d71ef64c21ff60ac988c06 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Thu, 21 Sep 2023 08:54:02 -0700 Subject: [PATCH] Use PWD abbreviation on live activity battery gauge --- Widgets/WidgetsLiveActivity.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Widgets/WidgetsLiveActivity.swift b/Widgets/WidgetsLiveActivity.swift index 95230354..3f998b53 100644 --- a/Widgets/WidgetsLiveActivity.swift +++ b/Widgets/WidgetsLiveActivity.swift @@ -52,7 +52,7 @@ struct WidgetsLiveActivity: Widget { .foregroundColor(.gray) .fixedSize() } else { - Text("Plugged In") + Text("PWD") .font(.title3) .foregroundColor(.gray) } @@ -101,7 +101,6 @@ struct WidgetsLiveActivity: Widget { } } -@available(iOS 16.2, *) struct WidgetsLiveActivity_Previews: PreviewProvider { static let attributes = MeshActivityAttributes(nodeNum: 123456789, name: "RAK Compact Rotary Handset Gray 8E6G") static let state = MeshActivityAttributes.ContentState( @@ -123,7 +122,6 @@ struct WidgetsLiveActivity_Previews: PreviewProvider { } } -@available(iOS 16.2, *) struct LiveActivityView: View { @Environment(\.colorScheme) private var colorScheme @Environment(\.isLuminanceReduced) var isLuminanceReduced