chore: Follow up connection status
This commit is contained in:
parent
4429368a92
commit
2869d341a6
2 changed files with 8 additions and 7 deletions
|
|
@ -99,9 +99,7 @@ class ChatAppBarTitle extends StatelessWidget {
|
|||
status.icon,
|
||||
size: 12,
|
||||
color: status.error != null
|
||||
? Theme.of(context)
|
||||
.colorScheme
|
||||
.onErrorContainer
|
||||
? Theme.of(context).colorScheme.error
|
||||
: null,
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
|
|
@ -111,9 +109,7 @@ class ChatAppBarTitle extends StatelessWidget {
|
|||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: status.error != null
|
||||
? Theme.of(context)
|
||||
.colorScheme
|
||||
.onErrorContainer
|
||||
? Theme.of(context).colorScheme.error
|
||||
: null,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue