CAKE-283 | moved url to static const

OleksandrSobol committed Feb 24, 2021 at 10:26 UTC 574fdfa874c775ad030cc0d84590499a6639777d
1 file changed +2 -1
lib/view_model/settings/settings_view_model.dart
+2 -1
@@ -175,7 +175,6 @@ abstract class SettingsViewModelBase with Store {
175 RegularListItem(
176 title: S.current.faq,
177 handler: (BuildContext context) async {
178 - final url = 'https://cakewallet.com/guide/';
178 if (await canLaunch(url)) await launch(url);
179 },
180 )
@@ -184,6 +183,8 @@ abstract class SettingsViewModelBase with Store {
183 ];
184 }
185
186 + static const url = 'https://cakewallet.com/guide/';
187 +
188 @observable
189 String currentVersion;
190