Merge branch 'main' of github.com:cake-tech/cake_wallet into release-4.2.4

This commit is contained in:
M
2021-07-22 13:33:52 +03:00
11 changed files with 34 additions and 18 deletions
+4 -1
View File
@@ -1,15 +1,18 @@
import 'package:flutter/foundation.dart';
import 'package:cake_wallet/view_model/settings/settings_list_item.dart';
import 'package:flutter/material.dart';
class LinkListItem extends SettingsListItem {
LinkListItem(
{@required String title,
@required this.link,
@required this.linkTitle,
this.icon})
this.icon,
this.hasIconColor = false})
: super(title);
final String icon;
final String link;
final String linkTitle;
final bool hasIconColor;
}
+8 -1
View File
@@ -31,6 +31,7 @@ abstract class SupportViewModelBase with Store {
LinkListItem(
title: 'GitHub',
icon: 'assets/images/github.png',
hasIconColor: true,
linkTitle: S.current.apk_update,
link: 'https://github.com/cake-tech/cake_wallet/releases'),
LinkListItem(
@@ -52,7 +53,13 @@ abstract class SupportViewModelBase with Store {
title: 'Wyre',
icon: 'assets/images/wyre.png',
linkTitle: S.current.submit_request,
link: 'https://wyre-support.zendesk.com/hc/en-us/requests/new')
link: 'https://wyre-support.zendesk.com/hc/en-us/requests/new'),
LinkListItem(
title: 'MoonPay',
icon: 'assets/images/moonpay.png',
hasIconColor: true,
linkTitle: S.current.submit_request,
link: 'https://support.moonpay.com/hc/en-gb/requests/new')
];
}
static const url = 'https://cakewallet.com/guide/';