mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Add intrinsic sized bottom sheet
This commit is contained in:
@@ -48,6 +48,7 @@ struct InfoSheet: View {
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
.accessibilityIdentifier(viewModel.viewState.description)
|
||||
.padding([.leading, .trailing], padding)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
}
|
||||
.layoutPriority(1)
|
||||
|
||||
@@ -70,7 +71,7 @@ struct InfoSheet: View {
|
||||
}
|
||||
.padding(.bottom, padding)
|
||||
.padding(.top, 32)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(theme.colors.background.ignoresSafeArea(edges: .bottom))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user