mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Minor trending layout fixes
This commit is contained in:
@@ -36,15 +36,11 @@ struct TrendingView: View {
|
||||
BrowserPlayerControls(toolbar: {
|
||||
HStack {
|
||||
if accounts.app.supportsTrendingCategories {
|
||||
HStack {
|
||||
Text("Category")
|
||||
.foregroundColor(.secondary)
|
||||
|
||||
categoryButton
|
||||
// only way to disable Menu animation is to
|
||||
// force redraw of the view when it changes
|
||||
.id(UUID())
|
||||
}
|
||||
categoryButton
|
||||
.layoutPriority(1)
|
||||
// only way to disable Menu animation is to
|
||||
// force redraw of the view when it changes
|
||||
.id(UUID())
|
||||
|
||||
Spacer()
|
||||
}
|
||||
@@ -57,12 +53,7 @@ struct TrendingView: View {
|
||||
Spacer()
|
||||
}
|
||||
|
||||
HStack {
|
||||
Text("Country")
|
||||
.foregroundColor(.secondary)
|
||||
|
||||
countryButton
|
||||
}
|
||||
countryButton
|
||||
}
|
||||
.padding(.horizontal)
|
||||
}) {
|
||||
|
Reference in New Issue
Block a user