Updated plugins, incremented app version, ui tweaks

This commit is contained in:
Imran Remtulla
2022-09-03 17:31:19 -04:00
parent f63da4b538
commit 52b97662c6
6 changed files with 23 additions and 21 deletions

View File

@@ -40,12 +40,12 @@ class _AppPageState extends State<AppPage> {
Text(
app?.app.name ?? 'App',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.headline1,
style: Theme.of(context).textTheme.displayLarge,
),
Text(
'By ${app?.app.author ?? 'Unknown'}',
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.headlineMedium,
),
const SizedBox(
height: 32,
@@ -151,8 +151,10 @@ class _AppPageState extends State<AppPage> {
});
},
style: TextButton.styleFrom(
foregroundColor: Theme.of(context).errorColor,
surfaceTintColor: Theme.of(context).errorColor),
foregroundColor:
Theme.of(context).colorScheme.error,
surfaceTintColor:
Theme.of(context).colorScheme.error),
child: const Text('Remove'),
),
])),

View File

@@ -42,7 +42,7 @@ class _AppsPageState extends State<AppsPage> {
: appsProvider.apps.isEmpty
? Text(
'No Apps',
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.headlineMedium,
)
: RefreshIndicator(
onRefresh: () {

View File

@@ -124,7 +124,7 @@ class _SettingsPageState extends State<SettingsPage> {
],
),
const SizedBox(
height: 32,
height: 16,
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
@@ -249,7 +249,7 @@ class _SettingsPageState extends State<SettingsPage> {
icon: const Icon(Icons.code),
label: Text(
'Source',
style: Theme.of(context).textTheme.caption,
style: Theme.of(context).textTheme.bodySmall,
),
)
],