remove loading animation for mark read and load more for smoother scrolling
This commit is contained in:
parent
6f4ad046b0
commit
6839f0bdae
1 changed files with 1 additions and 2 deletions
|
|
@ -21,7 +21,6 @@ import "package:nexus/widgets/chat_page/room_appbar.dart";
|
||||||
import "package:nexus/widgets/chat_page/wrappers/text_message_wrapper.dart";
|
import "package:nexus/widgets/chat_page/wrappers/text_message_wrapper.dart";
|
||||||
import "package:nexus/widgets/chat_page/reply_widget.dart";
|
import "package:nexus/widgets/chat_page/reply_widget.dart";
|
||||||
import "package:nexus/widgets/form_text_input.dart";
|
import "package:nexus/widgets/form_text_input.dart";
|
||||||
import "package:nexus/widgets/loading.dart";
|
|
||||||
// import "package:dynamic_polls/dynamic_polls.dart";
|
// import "package:dynamic_polls/dynamic_polls.dart";
|
||||||
|
|
||||||
class RoomChat extends HookConsumerWidget {
|
class RoomChat extends HookConsumerWidget {
|
||||||
|
|
@ -233,7 +232,7 @@ class RoomChat extends HookConsumerWidget {
|
||||||
children: getMessageOptions(message),
|
children: getMessageOptions(message),
|
||||||
),
|
),
|
||||||
builders: Builders(
|
builders: Builders(
|
||||||
loadMoreBuilder: (_) => Loading(),
|
loadMoreBuilder: (_) => SizedBox.shrink(),
|
||||||
|
|
||||||
chatAnimatedListBuilder: (_, itemBuilder) =>
|
chatAnimatedListBuilder: (_, itemBuilder) =>
|
||||||
ChatAnimatedList(
|
ChatAnimatedList(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue