fix: add search bar hints to i18n

This commit is contained in:
Alberto Ponces
2022-08-08 00:31:55 +01:00
parent 047e00cf2c
commit 960646ba77
4 changed files with 24 additions and 9 deletions

View File

@ -40,7 +40,10 @@ class _AppSelectorViewState extends State<AppSelectorView> {
child: Column(
children: [
SearchBar(
hintText: "Search applications",
hintText: FlutterI18n.translate(
context,
'appSelectorView.searchBarHint',
),
onQueryChanged: (searchQuery) {
setState(() {
query = searchQuery;