mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 11:16:36 +00:00
add dialogs to tor settings
This commit is contained in:
parent
1a20029c18
commit
d560a30941
1 changed files with 27 additions and 7 deletions
|
@ -159,13 +159,33 @@ class _TorSettingsViewState extends ConsumerState<TorSettingsView> {
|
|||
style: STextStyles.titleBold12(context),
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
SvgPicture.asset(
|
||||
Assets.svg.circleInfo,
|
||||
height: 16,
|
||||
width: 16,
|
||||
color: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.infoItemLabel,
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
showDialog<dynamic>(
|
||||
context: context,
|
||||
useSafeArea: false,
|
||||
barrierDismissible: true,
|
||||
builder: (context) {
|
||||
return const StackDialog(
|
||||
title: "What is Tor killswitch?",
|
||||
message:
|
||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. "
|
||||
"Sed sit amet nulla accumsan, ornare felis pellentesque, auctor nulla.",
|
||||
rightButton: SecondaryButton(
|
||||
label: "Close",
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
child: SvgPicture.asset(
|
||||
Assets.svg.circleInfo,
|
||||
height: 16,
|
||||
width: 16,
|
||||
color: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.infoItemLabel,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue