Slight UI tweak

This commit is contained in:
Imran Remtulla
2023-01-28 00:15:52 -05:00
parent 427b0ed8d2
commit 52913b0450

View File

@@ -317,7 +317,7 @@ class _AppPageState extends State<AppPage> {
tooltip: tr('more')), tooltip: tr('more')),
const SizedBox(width: 16.0), const SizedBox(width: 16.0),
Expanded( Expanded(
child: ElevatedButton( child: TextButton(
onPressed: (app?.app.installedVersion == null || onPressed: (app?.app.installedVersion == null ||
app?.app.installedVersion != app?.app.installedVersion !=
app?.app.latestVersion) && app?.app.latestVersion) &&
@@ -356,7 +356,8 @@ class _AppPageState extends State<AppPage> {
? tr('update') ? tr('update')
: tr('markUpdated')))), : tr('markUpdated')))),
const SizedBox(width: 16.0), const SizedBox(width: 16.0),
ElevatedButton( Expanded(
child: TextButton(
onPressed: app?.downloadProgress != null onPressed: app?.downloadProgress != null
? null ? null
: () { : () {
@@ -401,7 +402,7 @@ class _AppPageState extends State<AppPage> {
surfaceTintColor: surfaceTintColor:
Theme.of(context).colorScheme.error), Theme.of(context).colorScheme.error),
child: Text(tr('remove')), child: Text(tr('remove')),
), )),
])), ])),
if (app?.downloadProgress != null) if (app?.downloadProgress != null)
Padding( Padding(