Skip to content

Commit c6f9017

Browse files
authoredFeb 28, 2022
AppearancePage: correct app title for search (#293)
1 parent 4505f78 commit c6f9017

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
 

‎lib/view/pages/appearance/appearance_page.dart

+6-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ class AppearancePage extends StatelessWidget {
2121
static Widget createTitle(BuildContext context) =>
2222
Text(context.l10n.appearancePageTitle);
2323

24-
static bool searchMatches(String value, BuildContext context) => value
25-
.isNotEmpty
26-
? context.l10n.appsPageTitle.toLowerCase().contains(value.toLowerCase())
27-
: false;
24+
static bool searchMatches(String value, BuildContext context) =>
25+
value.isNotEmpty
26+
? context.l10n.appearancePageTitle
27+
.toLowerCase()
28+
.contains(value.toLowerCase())
29+
: false;
2830

2931
@override
3032
Widget build(BuildContext context) {

0 commit comments

Comments
 (0)