mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
Merge branch 'main' of github.com:cake-tech/cake_wallet into release-4.2.4
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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/';
|
||||
|
||||
Reference in New Issue
Block a user