mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
add tzkt link to about
This commit is contained in:
parent
391304f6da
commit
63917a7adb
2 changed files with 76 additions and 35 deletions
|
@ -525,6 +525,32 @@ class AboutView extends ConsumerWidget {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 12,
|
height: 12,
|
||||||
),
|
),
|
||||||
|
RoundedWhiteContainer(
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
"Tezos functionality",
|
||||||
|
style: STextStyles.titleBold12(context),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 4,
|
||||||
|
),
|
||||||
|
CustomTextButton(
|
||||||
|
text: "Powered by TzKT API",
|
||||||
|
onTap: () {
|
||||||
|
launchUrl(
|
||||||
|
Uri.parse("https://tzkt.io"),
|
||||||
|
mode: LaunchMode.externalApplication,
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 12,
|
||||||
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
RichText(
|
RichText(
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
|
|
|
@ -155,7 +155,7 @@ class DesktopAboutView extends ConsumerWidget {
|
||||||
Expanded(
|
Expanded(
|
||||||
child: RoundedWhiteContainer(
|
child: RoundedWhiteContainer(
|
||||||
width: 929,
|
width: 929,
|
||||||
height: 411,
|
height: 451,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(left: 10, top: 10),
|
padding: const EdgeInsets.only(left: 10, top: 10),
|
||||||
child: Column(
|
child: Column(
|
||||||
|
@ -669,41 +669,56 @@ class DesktopAboutView extends ConsumerWidget {
|
||||||
const SizedBox(height: 35),
|
const SizedBox(height: 35),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Text(
|
||||||
crossAxisAlignment:
|
"Website:",
|
||||||
CrossAxisAlignment.start,
|
style: STextStyles
|
||||||
children: [
|
.desktopTextExtraExtraSmall(
|
||||||
Text(
|
context)
|
||||||
"Website",
|
.copyWith(
|
||||||
style: STextStyles
|
color: Theme.of(context)
|
||||||
.desktopTextExtraExtraSmall(
|
.extension<
|
||||||
context)
|
StackColors>()!
|
||||||
.copyWith(
|
.textDark),
|
||||||
color: Theme.of(
|
),
|
||||||
context)
|
CustomTextButton(
|
||||||
.extension<
|
text: "https://stackwallet.com",
|
||||||
StackColors>()!
|
onTap: () {
|
||||||
.textDark),
|
launchUrl(
|
||||||
),
|
Uri.parse(
|
||||||
const SizedBox(
|
"https://stackwallet.com"),
|
||||||
height: 2,
|
mode: LaunchMode
|
||||||
),
|
.externalApplication,
|
||||||
CustomTextButton(
|
);
|
||||||
text:
|
},
|
||||||
"https://stackwallet.com",
|
),
|
||||||
onTap: () {
|
|
||||||
launchUrl(
|
|
||||||
Uri.parse(
|
|
||||||
"https://stackwallet.com"),
|
|
||||||
mode: LaunchMode
|
|
||||||
.externalApplication,
|
|
||||||
);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
)
|
),
|
||||||
|
const SizedBox(height: 25),
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
"Tezos functionality:",
|
||||||
|
style: STextStyles
|
||||||
|
.desktopTextExtraExtraSmall(
|
||||||
|
context)
|
||||||
|
.copyWith(
|
||||||
|
color: Theme.of(context)
|
||||||
|
.extension<
|
||||||
|
StackColors>()!
|
||||||
|
.textDark),
|
||||||
|
),
|
||||||
|
CustomTextButton(
|
||||||
|
text: "Powered by TzKT API",
|
||||||
|
onTap: () {
|
||||||
|
launchUrl(
|
||||||
|
Uri.parse("https://tzkt.io"),
|
||||||
|
mode: LaunchMode
|
||||||
|
.externalApplication,
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue