mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Merge pull request #82 from cake-tech/CAKE-263
Removed morph from exchange list.
This commit is contained in:
commit
8b96e9e234
3 changed files with 1 additions and 29 deletions
|
@ -39,7 +39,6 @@ class DisclaimerPageBody extends StatefulWidget {
|
|||
|
||||
class DisclaimerBodyState extends State<DisclaimerPageBody> {
|
||||
static const changenowUrl = 'https://changenow.io/terms-of-use';
|
||||
static const morphUrl = 'http://morphtoken.com/terms';
|
||||
|
||||
bool _checked = false;
|
||||
String _fileText = '';
|
||||
|
@ -172,27 +171,6 @@ class DisclaimerBodyState extends State<DisclaimerPageBody> {
|
|||
))
|
||||
],
|
||||
),
|
||||
SizedBox(
|
||||
height: 16.0,
|
||||
),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: GestureDetector(
|
||||
onTap: () => launchUrl(morphUrl),
|
||||
child: Text(
|
||||
morphUrl,
|
||||
textAlign: TextAlign.left,
|
||||
style: TextStyle(
|
||||
color: Palette.blueCraiola,
|
||||
fontSize: 14.0,
|
||||
fontWeight: FontWeight.normal,
|
||||
decoration: TextDecoration.underline),
|
||||
),
|
||||
))
|
||||
],
|
||||
),
|
||||
SizedBox(
|
||||
height: 16.0,
|
||||
)
|
||||
|
|
|
@ -34,8 +34,7 @@ abstract class ExchangeViewModelBase with Store {
|
|||
ExchangeViewModelBase(this.wallet, this.trades, this._exchangeTemplateStore,
|
||||
this.tradesStore, this._settingsStore) {
|
||||
providerList = [
|
||||
ChangeNowExchangeProvider(),
|
||||
MorphTokenExchangeProvider(trades: trades)
|
||||
ChangeNowExchangeProvider()
|
||||
];
|
||||
|
||||
_initialPairBasedOnWallet();
|
||||
|
|
|
@ -155,11 +155,6 @@ abstract class SettingsViewModelBase with Store {
|
|||
icon: 'assets/images/change_now.png',
|
||||
linkTitle: 'support@changenow.io',
|
||||
link: 'mailto:support@changenow.io'),
|
||||
LinkListItem(
|
||||
title: 'Morph',
|
||||
icon: 'assets/images/morph_icon.png',
|
||||
linkTitle: 'support@morphtoken.com',
|
||||
link: 'mailto:support@morphtoken.com'),
|
||||
RegularListItem(
|
||||
title: S.current.settings_terms_and_conditions,
|
||||
handler: (BuildContext context) =>
|
||||
|
|
Loading…
Reference in a new issue