chore: Follow up input bar design

pull/924/merge
Christian Kußowski 3 weeks ago
parent f5b9c3dd8d
commit 4482b37feb
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -116,7 +116,7 @@ class ChatInputRow extends StatelessWidget {
AnimatedContainer( AnimatedContainer(
duration: FluffyThemes.animationDuration, duration: FluffyThemes.animationDuration,
curve: FluffyThemes.animationCurve, curve: FluffyThemes.animationCurve,
width: controller.sendController.text.isNotEmpty ? 0 : 40, width: controller.sendController.text.isNotEmpty ? 0 : height,
height: height, height: height,
alignment: Alignment.center, alignment: Alignment.center,
decoration: const BoxDecoration(), decoration: const BoxDecoration(),
@ -227,6 +227,7 @@ class ChatInputRow extends StatelessWidget {
), ),
Container( Container(
height: height, height: height,
width: height,
alignment: Alignment.center, alignment: Alignment.center,
child: IconButton( child: IconButton(
tooltip: L10n.of(context).emojis, tooltip: L10n.of(context).emojis,
@ -260,6 +261,7 @@ class ChatInputRow extends StatelessWidget {
Matrix.of(context).currentBundle!.length > 1) Matrix.of(context).currentBundle!.length > 1)
Container( Container(
height: height, height: height,
width: height,
alignment: Alignment.center, alignment: Alignment.center,
child: _ChatAccountPicker(controller), child: _ChatAccountPicker(controller),
), ),

Loading…
Cancel
Save