#26: Add filtering of rooms by name.

* Add searchable to home screen.
* search ignoring case and accents
* Move home screen room search filtering to the ViewState
* Use lazy filtering for search.

Co-authored-by: Matthew Hodgson <matthew@matrix.org>
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
This commit is contained in:
Doug
2022-06-08 13:25:24 +01:00
committed by GitHub
parent 4b67d5d2a9
commit d7fae1ad7d
3 changed files with 23 additions and 4 deletions
@@ -64,6 +64,7 @@ struct HomeScreen: View {
}
}
.listStyle(.plain)
.searchable(text: $context.searchQuery)
}
Spacer()