diff --git a/assets/images/2.0x/morph_icon.png b/assets/images/2.0x/morph_icon.png new file mode 100644 index 000000000..a897a73b1 Binary files /dev/null and b/assets/images/2.0x/morph_icon.png differ diff --git a/assets/images/3.0x/morph_icon.png b/assets/images/3.0x/morph_icon.png new file mode 100644 index 000000000..db98d49da Binary files /dev/null and b/assets/images/3.0x/morph_icon.png differ diff --git a/assets/images/morph_icon.png b/assets/images/morph_icon.png new file mode 100644 index 000000000..e4b019b86 Binary files /dev/null and b/assets/images/morph_icon.png differ diff --git a/lib/src/screens/disclaimer/disclaimer_page.dart b/lib/src/screens/disclaimer/disclaimer_page.dart index 6e916df6f..490118e10 100644 --- a/lib/src/screens/disclaimer/disclaimer_page.dart +++ b/lib/src/screens/disclaimer/disclaimer_page.dart @@ -36,6 +36,7 @@ class DisclaimerBodyState extends State { static const xmrtoUrl = 'https://xmr.to/app_static/html/tos.html'; static const changenowUrl = 'https://changenow.io/terms-of-use'; + static const morphUrl = 'http://morphtoken.com/terms'; final bool _isAccepted; bool _checked = false; @@ -197,6 +198,27 @@ 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: Colors.blue, + fontSize: 14.0, + fontWeight: FontWeight.normal, + decoration: TextDecoration.underline), + ), + )) + ], + ), SizedBox( height: 16.0, ) diff --git a/lib/src/screens/settings/settings.dart b/lib/src/screens/settings/settings.dart index 72602c4d8..b2f53bfea 100644 --- a/lib/src/screens/settings/settings.dart +++ b/lib/src/screens/settings/settings.dart @@ -51,12 +51,14 @@ class SettingsFormState extends State { final _twitterImage = Image.asset('assets/images/Twitter.png'); final _changeNowImage = Image.asset('assets/images/change_now.png'); final _xmrBtcImage = Image.asset('assets/images/xmr_btc.png'); + final _morphImage = Image.asset('assets/images/morph_icon.png'); final _emailUrl = 'mailto:support@cakewallet.io'; final _telegramUrl = 'https:t.me/cakewallet_bot'; final _twitterUrl = 'https:twitter.com/CakewalletXMR'; final _changeNowUrl = 'mailto:support@changenow.io'; final _xmrToUrl = 'mailto:support@xmr.to'; + final _morphUrl = 'mailto:support@morphtoken.com'; final _items = List(); @@ -267,6 +269,12 @@ class SettingsFormState extends State { link: 'support@xmr.to', image: _xmrBtcImage, attribute: Attributes.link), + SettingsItem( + onTaped: () => _launchUrl(_morphUrl), + title: 'MorphToken', + link: 'support@morphtoken.com', + image: _morphImage, + attribute: Attributes.link), SettingsItem( onTaped: () { Navigator.push(