settings link when push notifications are disabled by user

This commit is contained in:
Gabriel Bazán 2016-03-30 17:49:48 -04:00
commit 0c53e52015
2 changed files with 19 additions and 4 deletions

View file

@ -78,7 +78,12 @@
<div translate>About Copay</div>
</li>
</ul>
<div ng-show="index.usePushNotifications && !PNEnabledByUser && !isAndroid">
<div class="text-centered text-gray size-12 m10" translate>Push notifications for Copay are currently disabled. Enable them in the Settings app.</div>
<ul class="no-bullet m0" ng-click="prefGlobal.openSettings()">
<li ng-style="{'color':index.backgroundColor}" translate>Open Settings app</li>
</ul>
</div>
<h4></h4>
</div>
<div class="extra-margin-bottom"></div>