mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-25 08:38:45 +00:00
desktop qr save only button
This commit is contained in:
parent
1b5ced5061
commit
11bae1740d
1 changed files with 24 additions and 18 deletions
|
@ -547,6 +547,7 @@ class _GenerateUriQrCodeViewState extends State<GenerateUriQrCodeView> {
|
|||
borderColor: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.background,
|
||||
width: isDesktop ? 370 : null,
|
||||
child: Column(
|
||||
children: [
|
||||
Text(
|
||||
|
@ -578,26 +579,31 @@ class _GenerateUriQrCodeViewState extends State<GenerateUriQrCodeView> {
|
|||
height: 12,
|
||||
),
|
||||
Row(
|
||||
mainAxisAlignment: isDesktop
|
||||
? MainAxisAlignment.center
|
||||
: MainAxisAlignment.start,
|
||||
children: [
|
||||
SecondaryButton(
|
||||
width: 170,
|
||||
desktopMed: true,
|
||||
onPressed: () async {
|
||||
await _capturePng(false);
|
||||
},
|
||||
label: "Share",
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.share,
|
||||
width: 20,
|
||||
height: 20,
|
||||
color: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.buttonTextSecondary,
|
||||
if (!isDesktop)
|
||||
SecondaryButton(
|
||||
width: 170,
|
||||
desktopMed: true,
|
||||
onPressed: () async {
|
||||
await _capturePng(false);
|
||||
},
|
||||
label: "Share",
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.share,
|
||||
width: 20,
|
||||
height: 20,
|
||||
color: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.buttonTextSecondary,
|
||||
),
|
||||
),
|
||||
if (!isDesktop)
|
||||
const SizedBox(
|
||||
width: 16,
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 16,
|
||||
),
|
||||
PrimaryButton(
|
||||
width: 170,
|
||||
desktopMed: true,
|
||||
|
|
Loading…
Reference in a new issue