mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Refine UserOtherSessionsHeaderView layout
This commit is contained in:
@@ -22,8 +22,8 @@ struct UserOtherSessions: View {
|
||||
@ObservedObject var viewModel: UserOtherSessionsViewModel.Context
|
||||
|
||||
var body: some View {
|
||||
VStack(spacing: 0) {
|
||||
ScrollView {
|
||||
ScrollView {
|
||||
VStack(spacing: 0) {
|
||||
SwiftUI.Section {
|
||||
if viewModel.viewState.sessionItems.isEmpty {
|
||||
noItemsView()
|
||||
@@ -37,7 +37,7 @@ struct UserOtherSessions: View {
|
||||
viewModel.send(viewAction: .viewSessionInfo)
|
||||
}
|
||||
)
|
||||
.padding(.top)
|
||||
.padding(.vertical, 24)
|
||||
}
|
||||
}
|
||||
if viewModel.isEditModeEnabled {
|
||||
|
||||
-1
@@ -54,7 +54,6 @@ struct UserOtherSessionsHeaderView: View {
|
||||
}
|
||||
.font(theme.fonts.footnote)
|
||||
.foregroundColor(theme.colors.secondaryContent)
|
||||
.padding(.bottom, 20.0)
|
||||
})
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
|
||||
Reference in New Issue
Block a user