mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 07:36:48 +00:00
Immersive short modal
This commit is contained in:
parent
ba3d8b1882
commit
1578896b3e
3 changed files with 6 additions and 6 deletions
|
@ -50,7 +50,7 @@ public struct AppAccountsSelectorView: View {
|
|||
}
|
||||
.sheet(isPresented: $isPresented, content: {
|
||||
accountsView.presentationDetents([.height(preferredHeight), .large])
|
||||
.presentationBackground(.thinMaterial)
|
||||
.presentationBackground(.ultraThinMaterial)
|
||||
.presentationCornerRadius(16)
|
||||
.onAppear {
|
||||
refreshAccounts()
|
||||
|
@ -101,7 +101,7 @@ public struct AppAccountsSelectorView: View {
|
|||
#endif
|
||||
}
|
||||
#if !os(visionOS)
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
.listRowBackground(theme.primaryBackgroundColor.opacity(0.4))
|
||||
#endif
|
||||
|
||||
if accountCreationEnabled {
|
||||
|
@ -113,7 +113,7 @@ public struct AppAccountsSelectorView: View {
|
|||
#if os(visionOS)
|
||||
.foregroundStyle(theme.labelColor)
|
||||
#else
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
.listRowBackground(theme.primaryBackgroundColor.opacity(0.4))
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ struct NotificationsPolicyView: View {
|
|||
})
|
||||
}
|
||||
#if !os(visionOS)
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
.listRowBackground(theme.primaryBackgroundColor.opacity(0.3))
|
||||
#endif
|
||||
}
|
||||
.formStyle(.grouped)
|
||||
|
|
|
@ -30,7 +30,7 @@ public struct TimelineContentFilterView: View {
|
|||
}
|
||||
}
|
||||
#if !os(visionOS)
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
.listRowBackground(theme.primaryBackgroundColor.opacity(0.3))
|
||||
#endif
|
||||
|
||||
Section {
|
||||
|
@ -46,7 +46,7 @@ public struct TimelineContentFilterView: View {
|
|||
}
|
||||
}
|
||||
#if !os(visionOS)
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
.listRowBackground(theme.primaryBackgroundColor.opacity(0.3))
|
||||
#endif
|
||||
}
|
||||
.navigationTitle("timeline.content-filter.title")
|
||||
|
|
Loading…
Reference in a new issue