mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Configured and applied SwiftFormat
This commit is contained in:
committed by
Stefan Ceriu
parent
ff2e6ddfa7
commit
43c28d23b7
+6
-6
@@ -1,4 +1,4 @@
|
||||
//
|
||||
//
|
||||
// Copyright 2022 New Vector Ltd
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -28,7 +28,7 @@ struct UserSessionDetailsItem: View {
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
HStack() {
|
||||
HStack {
|
||||
Text(viewData.title)
|
||||
.font(theme.fonts.subheadline)
|
||||
.foregroundColor(theme.colors.secondaryContent)
|
||||
@@ -59,10 +59,10 @@ struct UserSessionDetailsItem_Previews: PreviewProvider {
|
||||
List {
|
||||
UserSessionDetailsItem(viewData: UserSessionDetailsSectionItemViewData(title: "Session name",
|
||||
value: "Element Web: Firefox on macOS"))
|
||||
.listRowInsets(EdgeInsets())
|
||||
.listRowInsets(EdgeInsets())
|
||||
UserSessionDetailsItem(viewData: UserSessionDetailsSectionItemViewData(title: "Session ID",
|
||||
value: "76c95352559d-react-7c57680b93db-js-b64dbdce74b0"))
|
||||
.listRowInsets(EdgeInsets())
|
||||
.listRowInsets(EdgeInsets())
|
||||
}
|
||||
.preferredColorScheme(.light)
|
||||
|
||||
@@ -70,10 +70,10 @@ struct UserSessionDetailsItem_Previews: PreviewProvider {
|
||||
List {
|
||||
UserSessionDetailsItem(viewData: UserSessionDetailsSectionItemViewData(title: "Session name",
|
||||
value: "Element Web: Firefox on macOS"))
|
||||
.listRowInsets(EdgeInsets())
|
||||
.listRowInsets(EdgeInsets())
|
||||
UserSessionDetailsItem(viewData: UserSessionDetailsSectionItemViewData(title: "Session ID",
|
||||
value: "76c95352559d-react-7c57680b93db-js-b64dbdce74b0"))
|
||||
.listRowInsets(EdgeInsets())
|
||||
.listRowInsets(EdgeInsets())
|
||||
}
|
||||
.preferredColorScheme(.dark)
|
||||
.theme(.dark)
|
||||
|
||||
Reference in New Issue
Block a user