fluffychat merge
This commit is contained in:
commit
c993d8d5b2
5 changed files with 24 additions and 6 deletions
|
|
@ -114,6 +114,9 @@ abstract class FluffyThemes {
|
|||
systemNavigationBarColor: colorScheme.surface,
|
||||
),
|
||||
),
|
||||
listTileTheme: ListTileThemeData(
|
||||
subtitleTextStyle: TextStyle(color: colorScheme.outline, fontSize: 14),
|
||||
),
|
||||
outlinedButtonTheme: OutlinedButtonThemeData(
|
||||
style: OutlinedButton.styleFrom(
|
||||
side: BorderSide(
|
||||
|
|
|
|||
|
|
@ -90,8 +90,10 @@ class ChatAppBarTitle extends StatelessWidget {
|
|||
builder: (context, presence) {
|
||||
final lastActiveTimestamp =
|
||||
presence?.lastActiveTimestamp;
|
||||
final style =
|
||||
Theme.of(context).textTheme.bodySmall;
|
||||
final style = Theme.of(context)
|
||||
.listTileTheme
|
||||
.subtitleTextStyle
|
||||
?.copyWith(fontSize: 12);
|
||||
if (presence?.currentlyActive == true) {
|
||||
return Text(
|
||||
L10n.of(context).currentlyActive,
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ class PresenceAvatar extends StatelessWidget {
|
|||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 10.5,
|
||||
fontSize: 9,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
@ -278,7 +278,7 @@ class PresenceAvatar extends StatelessWidget {
|
|||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
fontSize: 13,
|
||||
fontSize: 11,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -150,7 +150,20 @@ class _ShareScaffoldDialogState extends State<ShareScaffoldDialog> {
|
|||
name: displayname,
|
||||
size: Avatar.defaultSize * 0.75,
|
||||
),
|
||||
title: Text(displayname),
|
||||
title: Text(
|
||||
displayname,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
subtitle: Text(
|
||||
room.directChatMatrixID ??
|
||||
L10n.of(context).countParticipants(
|
||||
(room.summary.mJoinedMemberCount ?? 0) +
|
||||
(room.summary.mInvitedMemberCount ?? 0),
|
||||
),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
value: selectedRoomId == room.id,
|
||||
onChanged: (_) => _toggleRoom(room.id),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ dependencies:
|
|||
ref: main
|
||||
flutter_vodozemac: ^0.2.2
|
||||
flutter_web_auth_2: ^3.1.1 # Version 4 blocked by https://github.com/MixinNetwork/flutter-plugins/issues/379
|
||||
flutter_webrtc: ^1.0.0
|
||||
flutter_webrtc: ^1.1.0
|
||||
geolocator: ^14.0.2
|
||||
go_router: ^16.1.0
|
||||
handy_window: ^0.4.0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue