mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Add more flexible background support to FullscreenDialog (#2675)
Hide the background when the main content extends underneath the bottom content.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ struct ResetRecoveryKeyScreen: View {
|
||||
.toolbar { toolbar }
|
||||
.toolbar(.visible, for: .navigationBar)
|
||||
.background()
|
||||
.environment(\.backgroundStyle, AnyShapeStyle(Color.compound.bgSubtleSecondary))
|
||||
.backgroundStyle(.compound.bgSubtleSecondary)
|
||||
.interactiveDismissDisabled()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user