Live Activity Content Density
Nucleic-Session: B3643133-163C-4C5D-BE20-1A6B7FB83DA9 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -13,6 +13,7 @@ struct SessionLiveActivity: Widget {
|
|||||||
var body: some WidgetConfiguration {
|
var body: some WidgetConfiguration {
|
||||||
ActivityConfiguration(for: NucleicSessionAttributes.self) { context in
|
ActivityConfiguration(for: NucleicSessionAttributes.self) { context in
|
||||||
LockScreenView(state: context.state, hostName: context.attributes.hostName)
|
LockScreenView(state: context.state, hostName: context.attributes.hostName)
|
||||||
|
.widgetURL(context.state.tapURL)
|
||||||
.activityBackgroundTint(Color.black.opacity(0.55))
|
.activityBackgroundTint(Color.black.opacity(0.55))
|
||||||
.activitySystemActionForegroundColor(.white)
|
.activitySystemActionForegroundColor(.white)
|
||||||
} dynamicIsland: { context in
|
} dynamicIsland: { context in
|
||||||
|
|||||||
Reference in New Issue
Block a user