|
|
|
@ -296,18 +296,12 @@ class ChatView extends StatelessWidget {
|
|
|
|
|
Brightness.light
|
|
|
|
|
? Colors.white
|
|
|
|
|
: Colors.black,
|
|
|
|
|
child: Material(
|
|
|
|
|
color: Theme.of(context)
|
|
|
|
|
.colorScheme
|
|
|
|
|
.primary
|
|
|
|
|
.withOpacity(0.1),
|
|
|
|
|
elevation: 4.0,
|
|
|
|
|
shadowColor: Theme.of(context)
|
|
|
|
|
.colorScheme
|
|
|
|
|
.onBackground
|
|
|
|
|
.withOpacity(0.33),
|
|
|
|
|
child: controller.room.isAbandonedDMRoom ==
|
|
|
|
|
true
|
|
|
|
|
child: controller.room.isAbandonedDMRoom == true
|
|
|
|
|
? Row(
|
|
|
|
|
mainAxisAlignment:
|
|
|
|
|
MainAxisAlignment.spaceEvenly,
|
|
|
|
@ -317,8 +311,7 @@ class ChatView extends StatelessWidget {
|
|
|
|
|
padding: const EdgeInsets.all(
|
|
|
|
|
16,
|
|
|
|
|
),
|
|
|
|
|
foregroundColor:
|
|
|
|
|
Theme.of(context)
|
|
|
|
|
foregroundColor: Theme.of(context)
|
|
|
|
|
.colorScheme
|
|
|
|
|
.error,
|
|
|
|
|
),
|
|
|
|
@ -339,8 +332,7 @@ class ChatView extends StatelessWidget {
|
|
|
|
|
icon: const Icon(
|
|
|
|
|
Icons.forum_outlined,
|
|
|
|
|
),
|
|
|
|
|
onPressed:
|
|
|
|
|
controller.recreateChat,
|
|
|
|
|
onPressed: controller.recreateChat,
|
|
|
|
|
label: Text(
|
|
|
|
|
L10n.of(context)!.reopenChat,
|
|
|
|
|
),
|
|
|
|
@ -359,7 +351,6 @@ class ChatView extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|