commit c5846008f2bdc725976a7cfcbd424c9c1573b300
parent 62bf767be50e3955b448c80551e45cd24dfcebde
Author: William Casarin <jb55@jb55.com>
Date: Sat, 24 Jun 2023 08:27:12 +0200
fix weird quirk with universe toolbar filter button
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/damus/ContentView.swift b/damus/ContentView.swift
@@ -310,13 +310,14 @@ struct ContentView: View {
if selected_timeline == .search {
Button(action: {
//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
Label(NSLocalizedString("Filter", comment: "Button label text for filtering relay servers."), image: "filter")
.foregroundColor(.gray)
//.contentShape(Rectangle())
}
+ .buttonStyle(.plain)
}
}
}