[GroupChatDetailsScreen] Fix divider color
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -185,29 +185,14 @@ class _GroupChatDetailsScreenState extends State<GroupChatDetailsScreen> {
|
|||||||
itemCount: _selectedUsers.length + 1,
|
itemCount: _selectedUsers.length + 1,
|
||||||
separatorBuilder: (_, __) => Container(
|
separatorBuilder: (_, __) => Container(
|
||||||
height: 1,
|
height: 1,
|
||||||
color: Theme.of(context).brightness == Brightness.dark
|
color: StreamChatTheme.of(context).colorTheme.greyWhisper,
|
||||||
? StreamChatTheme.of(context)
|
|
||||||
.colorTheme
|
|
||||||
.white
|
|
||||||
.withOpacity(0.1)
|
|
||||||
: StreamChatTheme.of(context)
|
|
||||||
.colorTheme
|
|
||||||
.black
|
|
||||||
.withOpacity(0.1),
|
|
||||||
),
|
),
|
||||||
itemBuilder: (_, index) {
|
itemBuilder: (_, index) {
|
||||||
if (index == _selectedUsers.length) {
|
if (index == _selectedUsers.length) {
|
||||||
return Container(
|
return Container(
|
||||||
height: 1,
|
height: 1,
|
||||||
color: Theme.of(context).brightness == Brightness.dark
|
color:
|
||||||
? StreamChatTheme.of(context)
|
StreamChatTheme.of(context).colorTheme.greyWhisper,
|
||||||
.colorTheme
|
|
||||||
.white
|
|
||||||
.withOpacity(0.1)
|
|
||||||
: StreamChatTheme.of(context)
|
|
||||||
.colorTheme
|
|
||||||
.black
|
|
||||||
.withOpacity(0.1),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
final user = _selectedUsers[index];
|
final user = _selectedUsers[index];
|
||||||
|
|||||||
Reference in New Issue
Block a user