fix: theme channel_list_view.dart background color in the proper place
This commit is contained in:
@@ -231,9 +231,12 @@ class _ChannelListViewState extends State<ChannelListView> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return LazyLoadScrollView(
|
return ColoredBox(
|
||||||
onEndOfPage: () => _channelListController.paginateData!(),
|
color: ChannelListViewTheme.of(context).backgroundColor!,
|
||||||
child: child,
|
child: LazyLoadScrollView(
|
||||||
|
onEndOfPage: () => _channelListController.paginateData!(),
|
||||||
|
child: child,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -571,18 +574,13 @@ class _ChannelListViewState extends State<ChannelListView> {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
child: DecoratedBox(
|
child: widget.channelPreviewBuilder?.call(context, channel) ??
|
||||||
decoration: BoxDecoration(
|
ChannelPreview(
|
||||||
color: chatThemeData.channelListViewTheme.backgroundColor,
|
onLongPress: widget.onChannelLongPress,
|
||||||
),
|
channel: channel,
|
||||||
child: widget.channelPreviewBuilder?.call(context, channel) ??
|
onImageTap: () => widget.onImageTap?.call(channel),
|
||||||
ChannelPreview(
|
onTap: (channel) => onTap(channel, widget.channelWidget),
|
||||||
onLongPress: widget.onChannelLongPress,
|
),
|
||||||
channel: channel,
|
|
||||||
onImageTap: () => widget.onImageTap?.call(channel),
|
|
||||||
onTap: (channel) => onTap(channel, widget.channelWidget),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user