Skip to content

Commit

Permalink
2.18 what's new message (#8316)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattLichtenstein authored Oct 18, 2023
1 parent 77a1a2d commit 5b75310
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
42 changes: 42 additions & 0 deletions addons/message_whats_new_v2.18/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"api_version": "0.1",
"id": "message_whats_new_v2.18",
"name": "What's new message",
"type": "message",
"conditions": {
"min_client_version": "2.18.0",
"max_client_version": "2.18.9"
},
"javascript": {
"enable": "setDate.js"
},
"message": {
"date": 1675040400,
"id": "message_whats_new_v2.18",
"title": "You’ve updated to Mozilla VPN 2.18",
"subtitle": "You’re using the latest version of Mozilla VPN.",
"badge": "whats_new",
"blocks": [
{
"id": "c_1",
"type": "text",
"content": "This update includes minor bug fixes, UI adjustments and other performance improvements, including:"
},
{
"id": "c_2",
"type": "ulist",
"content": [
{
"id": "l_2",
"content": "The ability to upgrade to an annual plan from within the app"
}
]
},
{
"id": "c_3",
"type": "text",
"content": "Thank you for installing the latest version!"
}
]
}
}
3 changes: 3 additions & 0 deletions addons/message_whats_new_v2.18/setDate.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(function (api) {
api.addon.date = (api.settings.updateTime.getTime() / 1000);
})

0 comments on commit 5b75310

Please sign in to comment.