More UI tweaks

This commit is contained in:
Imran Remtulla
2024-01-19 00:21:57 -05:00
parent b173b1300a
commit f5067d636a
20 changed files with 23 additions and 23 deletions

View File

@@ -94,7 +94,7 @@ class _AppPageState extends State<AppPage> {
app?.app.latestVersion ?? tr('unknown')
])}\n${tr('installedVersionX', args: [
app?.app.installedVersion ?? tr('none')
])}${installedVersionIsEstimate ? '\n${tr('pseudoVersion')}' : ''}',
])}${installedVersionIsEstimate ? '\n(${tr('pseudoVersion')})' : ''}',
textAlign: TextAlign.end,
style: Theme.of(context).textTheme.bodyLarge!,
),
@@ -108,9 +108,7 @@ class _AppPageState extends State<AppPage> {
height: 16,
),
Text(
'${trackOnly ? '${tr('xIsTrackOnly', args: [
tr('app')
])}\n' : ''}${tr('noVersionDetection')}',
trackOnly ? tr('xIsTrackOnly', args: [tr('app')]) : '',
style: Theme.of(context).textTheme.labelSmall,
textAlign: TextAlign.center,
)

View File

@@ -530,7 +530,9 @@ abstract class AppSource {
1,
[
GeneratedFormSwitch('releaseDateAsVersion',
label: tr('releaseDateAsVersion'), defaultValue: false)
label:
'${tr('releaseDateAsVersion')} (${tr('pseudoVersion')})',
defaultValue: false)
]);
}
}