mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Use PWD abbreviation on live activity battery gauge
This commit is contained in:
parent
a0e8caf6fb
commit
4130e7ca00
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue