chore: Adjust design of space avatars and more
This commit is contained in:
parent
e5000b83dd
commit
6d5ceba885
8 changed files with 70 additions and 57 deletions
|
|
@ -78,10 +78,7 @@ class ChatAppBarTitle extends StatelessWidget {
|
|||
builder: (context, presence) {
|
||||
final lastActiveTimestamp =
|
||||
presence?.lastActiveTimestamp;
|
||||
final style = TextStyle(
|
||||
fontSize: 12,
|
||||
color: Theme.of(context).colorScheme.outline,
|
||||
);
|
||||
final style = TextStyle(fontSize: 11);
|
||||
if (presence?.currentlyActive == true) {
|
||||
return Text(
|
||||
L10n.of(context).currentlyActive,
|
||||
|
|
@ -108,23 +105,13 @@ class ChatAppBarTitle extends StatelessWidget {
|
|||
child: CircularProgressIndicator.adaptive(
|
||||
strokeWidth: 1,
|
||||
value: status.progress,
|
||||
valueColor: status.error != null
|
||||
? AlwaysStoppedAnimation<Color>(
|
||||
Theme.of(context).colorScheme.error,
|
||||
)
|
||||
: null,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Expanded(
|
||||
child: Text(
|
||||
status.calcLocalizedString(context),
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: status.error != null
|
||||
? Theme.of(context).colorScheme.error
|
||||
: null,
|
||||
),
|
||||
style: TextStyle(fontSize: 12),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import 'package:fluffychat/widgets/hover_builder.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:animations/animations.dart';
|
||||
|
|
@ -12,6 +11,7 @@ import 'package:fluffychat/pages/chat/recording_view_model.dart';
|
|||
import 'package:fluffychat/utils/other_party_can_receive.dart';
|
||||
import 'package:fluffychat/utils/platform_infos.dart';
|
||||
import 'package:fluffychat/widgets/avatar.dart';
|
||||
import 'package:fluffychat/widgets/hover_builder.dart';
|
||||
import 'package:fluffychat/widgets/matrix.dart';
|
||||
import '../../config/themes.dart';
|
||||
import 'chat.dart';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue