fix weird quirk with universe toolbar filter button
This commit is contained in:
@@ -310,13 +310,14 @@ struct ContentView: View {
|
|||||||
if selected_timeline == .search {
|
if selected_timeline == .search {
|
||||||
Button(action: {
|
Button(action: {
|
||||||
//isFilterVisible.toggle()
|
//isFilterVisible.toggle()
|
||||||
self.active_sheet = .filter
|
present_sheet(.filter)
|
||||||
}) {
|
}) {
|
||||||
// checklist, checklist.checked, lisdt.bullet, list.bullet.circle, line.3.horizontal.decrease..., line.3.horizontail.decrease
|
// checklist, checklist.checked, lisdt.bullet, list.bullet.circle, line.3.horizontal.decrease..., line.3.horizontail.decrease
|
||||||
Label(NSLocalizedString("Filter", comment: "Button label text for filtering relay servers."), image: "filter")
|
Label(NSLocalizedString("Filter", comment: "Button label text for filtering relay servers."), image: "filter")
|
||||||
.foregroundColor(.gray)
|
.foregroundColor(.gray)
|
||||||
//.contentShape(Rectangle())
|
//.contentShape(Rectangle())
|
||||||
}
|
}
|
||||||
|
.buttonStyle(.plain)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user