chore: upgrade flutter to 3.22.0

This commit is contained in:
lauren n. liberda 2024-05-16 09:05:04 +02:00
commit ae0c8f73d2
No known key found for this signature in database
GPG key ID: 1613DD32FE28C3EA
30 changed files with 68 additions and 71 deletions

View file

@ -92,8 +92,8 @@ class HomeserverAppBar extends StatelessWidget {
)
: null,
fillColor: FluffyThemes.isColumnMode(context)
? Theme.of(context).colorScheme.background
: Theme.of(context).colorScheme.surfaceVariant,
? Theme.of(context).colorScheme.surface
: Theme.of(context).colorScheme.surfaceContainerHighest,
prefixText: '${L10n.of(context)!.homeserver}: ',
hintText: L10n.of(context)!.enterYourHomeserver,
suffixIcon: const Icon(Icons.search),

View file

@ -32,7 +32,7 @@ class HomeserverPickerView extends StatelessWidget {
appBar: AppBar(
titleSpacing: 12,
automaticallyImplyLeading: false,
surfaceTintColor: Theme.of(context).colorScheme.background,
surfaceTintColor: Theme.of(context).colorScheme.surface,
title: HomeserverAppBar(controller: controller),
),
body: Column(
@ -207,9 +207,9 @@ class _LoginButton extends StatelessWidget {
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(99),
),
foregroundColor: Theme.of(context).colorScheme.onBackground,
foregroundColor: Theme.of(context).colorScheme.onSurface,
backgroundColor: withBorder
? Theme.of(context).colorScheme.background
? Theme.of(context).colorScheme.surface
: Colors.transparent,
),
onPressed: onPressed,