mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: i18n minor add
This commit is contained in:
parent
a430537b6f
commit
debc701b5c
@ -31,7 +31,8 @@
|
||||
},
|
||||
"appSelectorCard": {
|
||||
"widgetTitle": "Select application",
|
||||
"widgetSubtitle": "No application selected."
|
||||
"widgetSubtitle": "No application selected.",
|
||||
"noAppsLabel": "No apps found."
|
||||
},
|
||||
"patchSelectorCard": {
|
||||
"widgetTitle": "Select patches",
|
||||
|
@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_i18n/flutter_i18n.dart';
|
||||
import 'package:installed_apps/app_info.dart';
|
||||
import 'package:installed_apps/installed_apps.dart';
|
||||
import 'package:revanced_manager/ui/widgets/installed_app_item.dart';
|
||||
@ -66,8 +67,8 @@ class _AppSelectorViewState extends State<AppSelectorView> {
|
||||
),
|
||||
if (query.isNotEmpty)
|
||||
apps.isEmpty
|
||||
? const Center(
|
||||
child: Text('No apps found'),
|
||||
? Center(
|
||||
child: I18nText('appSelectorCard.noAppsLabel'),
|
||||
)
|
||||
: Expanded(
|
||||
child: ListView.builder(
|
||||
|
Loading…
Reference in New Issue
Block a user