mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
CAKE-283 | moved url to static const
This commit is contained in:
parent
3135823afa
commit
574fdfa874
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,6 @@ abstract class SettingsViewModelBase with Store {
|
||||||
RegularListItem(
|
RegularListItem(
|
||||||
title: S.current.faq,
|
title: S.current.faq,
|
||||||
handler: (BuildContext context) async {
|
handler: (BuildContext context) async {
|
||||||
final url = 'https://cakewallet.com/guide/';
|
|
||||||
if (await canLaunch(url)) await launch(url);
|
if (await canLaunch(url)) await launch(url);
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
@ -184,6 +183,8 @@ abstract class SettingsViewModelBase with Store {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const url = 'https://cakewallet.com/guide/';
|
||||||
|
|
||||||
@observable
|
@observable
|
||||||
String currentVersion;
|
String currentVersion;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue