mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
chore: Follow up fix
This commit is contained in:
parent
fff3dc9946
commit
ee3351f643
@ -39,7 +39,10 @@ class NewPrivateChatView extends StatelessWidget {
|
||||
)
|
||||
],
|
||||
),
|
||||
body: MaxWidthBody(
|
||||
body: Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: MaxWidthBody(
|
||||
withScrolling: true,
|
||||
child: Container(
|
||||
margin: const EdgeInsets.all(_qrCodePadding),
|
||||
@ -71,7 +74,8 @@ class NewPrivateChatView extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
bottomNavigationBar: MaxWidthBody(
|
||||
),
|
||||
MaxWidthBody(
|
||||
withScrolling: false,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(12.0),
|
||||
@ -102,12 +106,17 @@ class NewPrivateChatView extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
|
||||
floatingActionButton: PlatformInfos.isMobile && !controller.hideFab
|
||||
? FloatingActionButton.extended(
|
||||
? Padding(
|
||||
padding: const EdgeInsets.only(bottom: 64.0),
|
||||
child: FloatingActionButton.extended(
|
||||
onPressed: controller.openScannerAction,
|
||||
label: Text(L10n.of(context)!.scanQrCode),
|
||||
icon: const Icon(Icons.camera_alt_outlined),
|
||||
),
|
||||
)
|
||||
: null,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user