1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 06:10:32 +05:30

Minor label change

This commit is contained in:
Arkadiusz Fal 2022-12-15 23:52:00 +01:00
parent 4a7d6ace24
commit 88926edb98

View File

@ -110,9 +110,7 @@ struct TrendingView: View {
.backport .backport
.refreshable { .refreshable {
DispatchQueue.main.async { DispatchQueue.main.async {
resource.load().onFailure { error in resource.load()
NavigationModel.shared.presentAlert(title: "Could not refresh Trending", message: error.userMessage)
}
} }
} }
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
@ -220,7 +218,7 @@ struct TrendingView: View {
resource.removeObservers(ownedBy: store) resource.removeObservers(ownedBy: store)
}) { }) {
#if os(iOS) #if os(iOS)
Label("Switch country...", systemImage: "flag") Label("Country", systemImage: "flag")
#else #else
Text("\(country.flag) \(country.id)") Text("\(country.flag) \(country.id)")