mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 13:05:37 +02:00
fix(app-selector): remove direct use of strings (#944)
This commit is contained in:
parent
716a30bf7b
commit
941f618153
39 changed files with 62 additions and 85 deletions
|
@ -73,15 +73,12 @@ class _InstalledAppItemState extends State<InstalledAppItem> {
|
|||
Row(
|
||||
children: [
|
||||
I18nText(
|
||||
FlutterI18n.translate(
|
||||
context,
|
||||
'suggested',
|
||||
translationParams: {
|
||||
'version': widget.suggestedVersion.isEmpty
|
||||
? 'All versions'
|
||||
: 'v${widget.suggestedVersion}'
|
||||
},
|
||||
),
|
||||
'suggested',
|
||||
translationParams: {
|
||||
'version' : widget.suggestedVersion.isEmpty
|
||||
? FlutterI18n.translate(context, 'appSelectorCard.allVersions')
|
||||
: 'v${widget.suggestedVersion}',
|
||||
},
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue