Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
HOTFIX wrong text if chat search is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Boehrsi committed Jun 3, 2019
1 parent 1792127 commit 93a8262
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/chatlist/chat_list_parent.dart
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class _ChatListViewState extends State<ChatListParent> with SingleTickerProvider
return Center(
child: Text(AppLocalizations
.of(context)
.chatListEmpty),
.searchEmpty),
);
}
} else if (state is! ChatListStateFailure) {
Expand Down
4 changes: 4 additions & 0 deletions lib/src/l10n/localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@ class AppLocalizations {

String get aboutSettingsVersion => Intl.message('App version', name: 'aboutSettingsVersion');

// Search
String get searchEmpty => Intl.message('No results found.', name: 'searchEmpty');


}

class AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
Expand Down

0 comments on commit 93a8262

Please sign in to comment.