mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
fix share button on receiving qr generate
This commit is contained in:
parent
19d0cb378d
commit
7f15c1e6f4
1 changed files with 12 additions and 39 deletions
|
@ -218,46 +218,19 @@ class _GenerateUriQrCodeViewState extends State<GenerateUriQrCodeView> {
|
||||||
Center(
|
Center(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: width,
|
width: width,
|
||||||
child: TextButton(
|
child: SecondaryButton(
|
||||||
onPressed: () async {
|
label: "Share",
|
||||||
// TODO: add save button as well
|
icon: SvgPicture.asset(
|
||||||
await _capturePng(true);
|
Assets.svg.share,
|
||||||
},
|
width: 14,
|
||||||
style: Theme.of(context)
|
height: 14,
|
||||||
.extension<StackColors>()!
|
color: Theme.of(context)
|
||||||
.getSecondaryEnabledButtonStyle(context),
|
.extension<StackColors>()!
|
||||||
child: Row(
|
.buttonTextSecondary,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
|
||||||
children: [
|
|
||||||
Center(
|
|
||||||
child: SvgPicture.asset(
|
|
||||||
Assets.svg.share,
|
|
||||||
width: 14,
|
|
||||||
height: 14,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(
|
|
||||||
width: 4,
|
|
||||||
),
|
|
||||||
Column(
|
|
||||||
children: [
|
|
||||||
Text(
|
|
||||||
"Share",
|
|
||||||
textAlign: TextAlign.center,
|
|
||||||
style: STextStyles.button(context).copyWith(
|
|
||||||
color: Theme.of(context)
|
|
||||||
.extension<StackColors>()!
|
|
||||||
.buttonTextSecondary,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(
|
|
||||||
height: 2,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
|
onPressed: () async {
|
||||||
|
await _capturePng(false);
|
||||||
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue