mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-22 08:20:59 +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: {
|
.sheet(isPresented: $isPresented, content: {
|
||||||
accountsView.presentationDetents([.height(preferredHeight), .large])
|
accountsView.presentationDetents([.height(preferredHeight), .large])
|
||||||
.presentationBackground(.thinMaterial)
|
.presentationBackground(.ultraThinMaterial)
|
||||||
.presentationCornerRadius(16)
|
.presentationCornerRadius(16)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
refreshAccounts()
|
refreshAccounts()
|
||||||
|
@ -101,7 +101,7 @@ public struct AppAccountsSelectorView: View {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if !os(visionOS)
|
#if !os(visionOS)
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor.opacity(0.4))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if accountCreationEnabled {
|
if accountCreationEnabled {
|
||||||
|
@ -113,7 +113,7 @@ public struct AppAccountsSelectorView: View {
|
||||||
#if os(visionOS)
|
#if os(visionOS)
|
||||||
.foregroundStyle(theme.labelColor)
|
.foregroundStyle(theme.labelColor)
|
||||||
#else
|
#else
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor.opacity(0.4))
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ struct NotificationsPolicyView: View {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
#if !os(visionOS)
|
#if !os(visionOS)
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor.opacity(0.3))
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
.formStyle(.grouped)
|
.formStyle(.grouped)
|
||||||
|
|
|
@ -30,7 +30,7 @@ public struct TimelineContentFilterView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if !os(visionOS)
|
#if !os(visionOS)
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor.opacity(0.3))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Section {
|
Section {
|
||||||
|
@ -46,7 +46,7 @@ public struct TimelineContentFilterView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if !os(visionOS)
|
#if !os(visionOS)
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor.opacity(0.3))
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
.navigationTitle("timeline.content-filter.title")
|
.navigationTitle("timeline.content-filter.title")
|
||||||
|
|
Loading…
Reference in a new issue