CAKE-283 | moved url to static const

This commit is contained in:
OleksandrSobol 2021-02-24 10:26:02 +02:00
parent 3135823afa
commit 574fdfa874

View file

@ -175,7 +175,6 @@ abstract class SettingsViewModelBase with Store {
RegularListItem(
title: S.current.faq,
handler: (BuildContext context) async {
final url = 'https://cakewallet.com/guide/';
if (await canLaunch(url)) await launch(url);
},
)
@ -184,6 +183,8 @@ abstract class SettingsViewModelBase with Store {
];
}
static const url = 'https://cakewallet.com/guide/';
@observable
String currentVersion;