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:
parent
4a7d6ace24
commit
88926edb98
@ -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)")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user