fixed z-index issue with background-loading indicator being behind talk-messages in chats
This commit is contained in:
@@ -115,9 +115,6 @@ class LoadableStateConsumer<
|
||||
visible: showPrimaryLoading,
|
||||
statusText: loadableState.statusText,
|
||||
),
|
||||
LoadableStateBackgroundLoading(
|
||||
visible: showBackgroundLoading,
|
||||
),
|
||||
LoadableStateErrorScreen(
|
||||
visible: showError,
|
||||
message: loadableState.error?.message,
|
||||
@@ -130,6 +127,12 @@ class LoadableStateConsumer<
|
||||
curve: Curves.easeInOut,
|
||||
child: childWidget,
|
||||
),
|
||||
|
||||
// Painted last so the top loading bar stays above the content
|
||||
// instead of being covered by it (e.g. the chat message list).
|
||||
LoadableStateBackgroundLoading(
|
||||
visible: showBackgroundLoading,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user