fix(ui): Do not explicitly color the card background
This commit is contained in:
parent
466d502db1
commit
c1d9185a2f
@ -1,6 +1,5 @@
|
|||||||
import 'package:badges/badges.dart' as badges;
|
import 'package:badges/badges.dart' as badges;
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_zxing/zxing_mobile.dart';
|
|
||||||
import 'package:get_it/get_it.dart';
|
import 'package:get_it/get_it.dart';
|
||||||
import 'package:moxxyv2/i18n/strings.g.dart';
|
import 'package:moxxyv2/i18n/strings.g.dart';
|
||||||
import 'package:moxxyv2/shared/helpers.dart';
|
import 'package:moxxyv2/shared/helpers.dart';
|
||||||
@ -174,7 +173,7 @@ class ConversationCard extends StatelessWidget {
|
|||||||
final sentBySelf = conversation.lastMessage?.sender ==
|
final sentBySelf = conversation.lastMessage?.sender ==
|
||||||
GetIt.I.get<UIDataService>().ownJid!;
|
GetIt.I.get<UIDataService>().ownJid!;
|
||||||
return Material(
|
return Material(
|
||||||
color: Theme.of(context).colorScheme.surface,
|
color: Colors.transparent,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
|
Loading…
Reference in New Issue
Block a user