chore: upgrade flutter to 3.22.0
This commit is contained in:
parent
62fcea5b0b
commit
ae0c8f73d2
30 changed files with 68 additions and 71 deletions
|
|
@ -99,7 +99,7 @@ class Avatar extends StatelessWidget {
|
|||
height: 16,
|
||||
decoration: BoxDecoration(
|
||||
color: presenceBackgroundColor ??
|
||||
Theme.of(context).colorScheme.background,
|
||||
Theme.of(context).colorScheme.surface,
|
||||
borderRadius: BorderRadius.circular(32),
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
|
|
@ -111,7 +111,7 @@ class Avatar extends StatelessWidget {
|
|||
borderRadius: BorderRadius.circular(16),
|
||||
border: Border.all(
|
||||
width: 1,
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -42,11 +42,11 @@ class LoginScaffold extends StatelessWidget {
|
|||
body: body,
|
||||
backgroundColor: isMobileMode
|
||||
? null
|
||||
: Theme.of(context).colorScheme.background.withOpacity(0.8),
|
||||
: Theme.of(context).colorScheme.surface.withOpacity(0.8),
|
||||
bottomNavigationBar: isMobileMode
|
||||
? Material(
|
||||
elevation: 4,
|
||||
shadowColor: Theme.of(context).colorScheme.onBackground,
|
||||
shadowColor: Theme.of(context).colorScheme.onSurface,
|
||||
child: const _PrivacyButtons(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class UnreadRoomsBadge extends StatelessWidget {
|
|||
badgeColor: Theme.of(context).colorScheme.primary,
|
||||
elevation: 4,
|
||||
borderSide: BorderSide(
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue