Minor trending layout fixes

This commit is contained in:
Arkadiusz Fal
2022-11-11 21:28:48 +01:00
parent 51bd46b3ae
commit 4a6350f3fe
2 changed files with 10 additions and 17 deletions

View File

@@ -71,9 +71,11 @@ struct BrowsingSettings: View {
Toggle("Show Favorites", isOn: $showFavoritesInHome)
}
HStack {
TextField("Recent history items", text: $homeHistoryItemsText)
Text("Recent history")
TextField("Recent history", text: $homeHistoryItemsText)
.labelsHidden()
#if !os(macOS)
.keyboardType(.URL)
.keyboardType(.numberPad)
#endif
.onAppear {
homeHistoryItemsText = String(homeHistoryItems)