ios: fix picker heights

This commit is contained in:
Evgeny Poberezkin
2023-03-27 20:43:39 +01:00
parent c96ba30018
commit 1f4bb8a224
4 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -101,4 +101,4 @@ func startChatAndActivate() {
if .active != appStateGroupDefault.get() {
activateChat()
}
}
}
@@ -41,6 +41,7 @@ struct GroupLinkView: View {
Text(role.text)
}
}
.frame(height: 36)
}
.frame(maxWidth: .infinity, alignment: .leading)
QRCode(uri: groupLink)
@@ -147,6 +147,7 @@ struct AdvancedNetworkSettings: View {
Text("\(value) \(label)")
}
}
.frame(height: 36)
}
private func timeoutSettingPicker(_ title: LocalizedStringKey, selection: Binding<Int>, values: [Int], label: String) -> some View {
@@ -155,6 +156,7 @@ struct AdvancedNetworkSettings: View {
Text("\(String(format: "%g", (Double(value) / 1000000))) \(secondsLabel)")
}
}
.frame(height: 36)
}
}
@@ -52,6 +52,7 @@ struct NetworkAndServers: View {
Picker("Transport isolation", selection: $sessionMode) {
ForEach(TransportSessionMode.values, id: \.self) { Text($0.text) }
}
.frame(height: 36)
}
NavigationLink {