chore: Follow up input bar design
This commit is contained in:
parent
6d4ee4ad6f
commit
7e0dcc3058
1 changed files with 49 additions and 58 deletions
|
|
@ -296,18 +296,12 @@ class ChatView extends StatelessWidget {
|
||||||
Brightness.light
|
Brightness.light
|
||||||
? Colors.white
|
? Colors.white
|
||||||
: Colors.black,
|
: Colors.black,
|
||||||
child: Material(
|
|
||||||
color: Theme.of(context)
|
|
||||||
.colorScheme
|
|
||||||
.primary
|
|
||||||
.withOpacity(0.1),
|
|
||||||
elevation: 4.0,
|
elevation: 4.0,
|
||||||
shadowColor: Theme.of(context)
|
shadowColor: Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.onBackground
|
.onBackground
|
||||||
.withOpacity(0.33),
|
.withOpacity(0.33),
|
||||||
child: controller.room.isAbandonedDMRoom ==
|
child: controller.room.isAbandonedDMRoom == true
|
||||||
true
|
|
||||||
? Row(
|
? Row(
|
||||||
mainAxisAlignment:
|
mainAxisAlignment:
|
||||||
MainAxisAlignment.spaceEvenly,
|
MainAxisAlignment.spaceEvenly,
|
||||||
|
|
@ -317,8 +311,7 @@ class ChatView extends StatelessWidget {
|
||||||
padding: const EdgeInsets.all(
|
padding: const EdgeInsets.all(
|
||||||
16,
|
16,
|
||||||
),
|
),
|
||||||
foregroundColor:
|
foregroundColor: Theme.of(context)
|
||||||
Theme.of(context)
|
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.error,
|
.error,
|
||||||
),
|
),
|
||||||
|
|
@ -339,8 +332,7 @@ class ChatView extends StatelessWidget {
|
||||||
icon: const Icon(
|
icon: const Icon(
|
||||||
Icons.forum_outlined,
|
Icons.forum_outlined,
|
||||||
),
|
),
|
||||||
onPressed:
|
onPressed: controller.recreateChat,
|
||||||
controller.recreateChat,
|
|
||||||
label: Text(
|
label: Text(
|
||||||
L10n.of(context)!.reopenChat,
|
L10n.of(context)!.reopenChat,
|
||||||
),
|
),
|
||||||
|
|
@ -359,7 +351,6 @@ class ChatView extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue