mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
chore: Follow up fix
This commit is contained in:
parent
6fc8aaa1bb
commit
49b541930a
1 changed files with 71 additions and 62 deletions
|
@ -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 a new issue