🐛 Fixes and improvements in syncing

This commit is contained in:
2025-09-27 22:47:31 +08:00
parent 214d5c4a53
commit e65a414065

View File

@@ -34,8 +34,6 @@ import "package:island/widgets/chat/call_button.dart";
import "package:island/widgets/chat/chat_input.dart"; import "package:island/widgets/chat/chat_input.dart";
import "package:island/widgets/chat/public_room_preview.dart"; import "package:island/widgets/chat/public_room_preview.dart";
final flashingMessagesProvider = StateProvider<Set<String>>((ref) => {});
class ChatRoomScreen extends HookConsumerWidget { class ChatRoomScreen extends HookConsumerWidget {
final String id; final String id;
const ChatRoomScreen({super.key, required this.id}); const ChatRoomScreen({super.key, required this.id});
@@ -404,7 +402,7 @@ class ChatRoomScreen extends HookConsumerWidget {
listController: listController, listController: listController,
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: 16, top: 16,
bottom: 96 + MediaQuery.of(context).padding.bottom, bottom: 88 + MediaQuery.of(context).padding.bottom,
), ),
controller: scrollController, controller: scrollController,
reverse: true, // Show newest messages at the bottom reverse: true, // Show newest messages at the bottom