[gnome-shell/eos3.8: 236/255] payg: Properly display credit expired in tray applet
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/eos3.8: 236/255] payg: Properly display credit expired in tray applet
- Date: Wed, 10 Jun 2020 19:17:51 +0000 (UTC)
commit 90b73b11a232d77a49ffa76eb7acbf9b06f0df85
Author: Matthew Leeds <matthew leeds endlessm com>
Date: Fri Apr 24 11:58:02 2020 -0700
payg: Properly display credit expired in tray applet
https://phabricator.endlessm.com/T25995
(cherry picked from commit f6cbb2bc3b3e67080ee415e3cb7715db7fb96f85)
js/ui/status/payg.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/status/payg.js b/js/ui/status/payg.js
index e1fe0713bb..3a7932998d 100644
--- a/js/ui/status/payg.js
+++ b/js/ui/status/payg.js
@@ -86,6 +86,8 @@ class PaygIndicator extends PanelMenu.SystemIndicator {
return _('Getting timeā¦');
let seconds = this._paygManager.timeRemainingSecs();
+ if (seconds == 0)
+ return _('Subscription expired');
if (seconds < 60)
return _('Less than 1 minute');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]