Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/pages/chat/chat_input_row.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class ChatInputRow extends StatelessWidget {
AnimatedContainer(
duration: FluffyThemes.animationDuration,
curve: FluffyThemes.animationCurve,
width: textMessageOnly ? 0 : 48,
width: textMessageOnly ? 0 : 40,
height: height,
alignment: Alignment.center,
decoration: const BoxDecoration(),
Expand Down Expand Up @@ -257,7 +257,7 @@ class ChatInputRow extends StatelessWidget {
AnimatedContainer(
duration: FluffyThemes.animationDuration,
curve: FluffyThemes.animationCurve,
width: textMessageOnly ? 0 : 48,
width: textMessageOnly ? 0 : 40,
height: height,
alignment: Alignment.center,
decoration: const BoxDecoration(),
Expand Down Expand Up @@ -301,7 +301,7 @@ class ChatInputRow extends StatelessWidget {
),
Container(
height: height,
width: 48,
width: 40,
alignment: Alignment.center,
child: IconButton(
tooltip: L10n.of(context).emojis,
Expand Down
10 changes: 8 additions & 2 deletions lib/pages/chat_list/chat_list_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
client.onSync.value != null &&
status.status != SyncStatus.error &&
client.prevBatch != null;
return TextField(
return SizedBox(
height: 40,
child: TextField(
controller: controller.searchController,
focusNode: controller.searchFocusNode,
textInputAction: TextInputAction.search,
style: const TextStyle(fontSize: 13),
onChanged: (text) =>
controller.onSearchEnter(text, globalSearch: globalSearch),
decoration: InputDecoration(
Expand All @@ -60,6 +63,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
? L10n.of(context).searchChatsRooms
: status.calcLocalizedString(context),
hintStyle: TextStyle(
fontSize: 13,
color: status.error != null
? Colors.orange
: theme.colorScheme.onPrimaryContainer,
Expand All @@ -69,14 +73,15 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
? controller.isSearchMode
? IconButton(
tooltip: L10n.of(context).cancel,
icon: const Icon(TablerIcons.x),
icon: const Icon(TablerIcons.x, size: 18),
onPressed: controller.cancelSearch,
color: theme.colorScheme.onPrimaryContainer,
)
: IconButton(
onPressed: controller.startSearch,
icon: Icon(
TablerIcons.search,
size: 18,
color: theme.colorScheme.onPrimaryContainer,
),
)
Expand Down Expand Up @@ -127,6 +132,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
)
: SizedBox(width: 0, child: ClientChooserButton(controller)),
),
),
);
},
),
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/chat_list/client_chooser_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class ClientChooserButton extends StatelessWidget {
mxContent: snapshot.data?.avatarUrl,
name:
snapshot.data?.displayName ?? matrix.client.userID?.localpart,
size: 32,
size: 24,
),
),
),
Expand Down
4 changes: 2 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
<!-- iOS meta tags & icons -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="fluffychat">
<meta name="apple-mobile-web-app-title" content="Uchar">
<link rel="apple-touch-icon" href="icons/Icon-192.png">

<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>

<title>fluffychat</title>
<title>Uchar</title>
<link rel="manifest" href="manifest.json">
<script src="Imaging.js"></script>
</head>
Expand Down
Loading