From acc4bfe84a5579fd25170e2326a45e56f0168018 Mon Sep 17 00:00:00 2001 From: M Date: Tue, 9 Feb 2021 15:54:50 +0200 Subject: [PATCH] Removed morph from exchange list. --- .../screens/disclaimer/disclaimer_page.dart | 22 ------------------- .../exchange/exchange_view_model.dart | 3 +-- .../settings/settings_view_model.dart | 5 ----- 3 files changed, 1 insertion(+), 29 deletions(-) diff --git a/lib/src/screens/disclaimer/disclaimer_page.dart b/lib/src/screens/disclaimer/disclaimer_page.dart index 8529e4868..dedeb8406 100644 --- a/lib/src/screens/disclaimer/disclaimer_page.dart +++ b/lib/src/screens/disclaimer/disclaimer_page.dart @@ -39,7 +39,6 @@ class DisclaimerPageBody extends StatefulWidget { class DisclaimerBodyState extends State { 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 { )) ], ), - SizedBox( - height: 16.0, - ), - Row( - mainAxisAlignment: MainAxisAlignment.start, - children: [ - 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, ) diff --git a/lib/view_model/exchange/exchange_view_model.dart b/lib/view_model/exchange/exchange_view_model.dart index 64fcbb847..90c62593d 100644 --- a/lib/view_model/exchange/exchange_view_model.dart +++ b/lib/view_model/exchange/exchange_view_model.dart @@ -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(); diff --git a/lib/view_model/settings/settings_view_model.dart b/lib/view_model/settings/settings_view_model.dart index 5130d2db5..20d2a1713 100644 --- a/lib/view_model/settings/settings_view_model.dart +++ b/lib/view_model/settings/settings_view_model.dart @@ -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) =>