mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-20 17:53:46 +02:00
Fix text alignment in app selection menu (#2577)
This commit is contained in:
@@ -1010,6 +1010,7 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
selectedApps.where((element) => element.pinned).isEmpty
|
selectedApps.where((element) => element.pinned).isEmpty
|
||||||
? tr('pinToTop')
|
? tr('pinToTop')
|
||||||
: tr('unpinFromTop'),
|
: tr('unpinFromTop'),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
@@ -1026,7 +1027,10 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
);
|
);
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
child: Text(tr('shareSelectedAppURLs')),
|
child: Text(
|
||||||
|
tr('shareSelectedAppURLs'),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
TextButton(
|
TextButton(
|
||||||
@@ -1043,7 +1047,10 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
subject: 'Obtainium - ${tr('appsString')}',
|
subject: 'Obtainium - ${tr('appsString')}',
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
child: Text(tr('shareAppConfigLinks')),
|
child: Text(
|
||||||
|
tr('shareAppConfigLinks'),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
TextButton(
|
TextButton(
|
||||||
@@ -1069,7 +1076,10 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
fileNameOverrides: ['$fn.json'],
|
fileNameOverrides: ['$fn.json'],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
child: Text('${tr('share')} - ${tr('obtainiumExport')}'),
|
child: Text(
|
||||||
|
'${tr('share')} - ${tr('obtainiumExport')}',
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
TextButton(
|
TextButton(
|
||||||
@@ -1093,6 +1103,7 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
'downloadX',
|
'downloadX',
|
||||||
args: [lowerCaseIfEnglish(tr('releaseAsset'))],
|
args: [lowerCaseIfEnglish(tr('releaseAsset'))],
|
||||||
),
|
),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
@@ -1100,7 +1111,10 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
onPressed: appsProvider.areDownloadsRunning()
|
onPressed: appsProvider.areDownloadsRunning()
|
||||||
? null
|
? null
|
||||||
: showMassMarkDialog,
|
: showMassMarkDialog,
|
||||||
child: Text(tr('markSelectedAppsUpdated')),
|
child: Text(
|
||||||
|
tr('markSelectedAppsUpdated'),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user