Removed morph from exchange list.

M committed Feb 9, 2021 at 15:54 UTC acc4bfe84a5579fd25170e2326a45e56f0168018
3 files changed +1 -29
lib/src/screens/disclaimer/disclaimer_page.dart
-22
@@ -39,7 +39,6 @@ class DisclaimerPageBody extends StatefulWidget {
39
40 class DisclaimerBodyState extends State<DisclaimerPageBody> {
41 static const changenowUrl = 'https://changenow.io/terms-of-use';
42 - static const morphUrl = 'http://morphtoken.com/terms';
42
43 bool _checked = false;
44 String _fileText = '';
@@ -172,27 +171,6 @@ class DisclaimerBodyState extends State<DisclaimerPageBody> {
171 ))
172 ],
173 ),
175 - SizedBox(
176 - height: 16.0,
177 - ),
178 - Row(
179 - mainAxisAlignment: MainAxisAlignment.start,
180 - children: <Widget>[
181 - Expanded(
182 - child: GestureDetector(
183 - onTap: () => launchUrl(morphUrl),
184 - child: Text(
185 - morphUrl,
186 - textAlign: TextAlign.left,
187 - style: TextStyle(
188 - color: Palette.blueCraiola,
189 - fontSize: 14.0,
190 - fontWeight: FontWeight.normal,
191 - decoration: TextDecoration.underline),
192 - ),
193 - ))
194 - ],
195 - ),
174 SizedBox(
175 height: 16.0,
176 )
lib/view_model/exchange/exchange_view_model.dart
+1 -2
@@ -34,8 +34,7 @@ abstract class ExchangeViewModelBase with Store {
34 ExchangeViewModelBase(this.wallet, this.trades, this._exchangeTemplateStore,
35 this.tradesStore, this._settingsStore) {
36 providerList = [
37 - ChangeNowExchangeProvider(),
38 - MorphTokenExchangeProvider(trades: trades)
37 + ChangeNowExchangeProvider()
38 ];
39
40 _initialPairBasedOnWallet();
lib/view_model/settings/settings_view_model.dart
-5
@@ -155,11 +155,6 @@ abstract class SettingsViewModelBase with Store {
155 icon: 'assets/images/change_now.png',
156 linkTitle: 'support@changenow.io',
157 link: 'mailto:support@changenow.io'),
158 - LinkListItem(
159 - title: 'Morph',
160 - icon: 'assets/images/morph_icon.png',
161 - linkTitle: 'support@morphtoken.com',
162 - link: 'mailto:support@morphtoken.com'),
158 RegularListItem(
159 title: S.current.settings_terms_and_conditions,
160 handler: (BuildContext context) =>