forked from FOSS/BangleApps
Merge pull request #827 from hughbarney/master
Pastel: handle 12hr display at 12:xx, updated description for notify default and fullscreen for claritymaster
commit
b658368469
|
@ -95,7 +95,7 @@
|
|||
"shortName":"Notifications",
|
||||
"icon": "notify.png",
|
||||
"version":"0.10",
|
||||
"description": "A handler for displaying notifications that displays them in a bar at the top of the screen",
|
||||
"description": "Provides the default `notify` module used by applications to display notifications in a bar at the top of the screen. This module is installed by default by client applications such as the Gadgetbridge app. Installing `Fullscreen Notifications` replaces this module with a version that displays the notifications using the full screen",
|
||||
"tags": "widget",
|
||||
"type": "notify",
|
||||
"readme": "README.md",
|
||||
|
@ -108,7 +108,7 @@
|
|||
"shortName":"Notifications",
|
||||
"icon": "notify.png",
|
||||
"version":"0.11",
|
||||
"description": "A handler for displaying notifications that displays them fullscreen. This may not fully restore the screen after on some apps. See `Notifications (default)` for more information about the notifications library.",
|
||||
"description": "Provides a replacement for the `Notifications (default)` `notify` module. This version is used by applications to display notifications fullscreen. This may not fully restore the screen after on some apps. See `Notifications (default)` for more information about the notify module.",
|
||||
"tags": "widget,b2",
|
||||
"type": "notify",
|
||||
"storage": [
|
||||
|
@ -3521,7 +3521,7 @@
|
|||
"name": "Pastel Clock",
|
||||
"shortName": "Pastel",
|
||||
"icon": "pastel.png",
|
||||
"version":"0.01",
|
||||
"version":"0.02",
|
||||
"description": "A Configurable clock with custom fonts and background",
|
||||
"tags": "clock,b2",
|
||||
"type":"clock",
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
# Notifications (default)
|
||||
|
||||
A handler for displaying notifications that displays them in a bar at the top of the screen
|
||||
The default version of the `notify` module for displaying notifications in a bar at the top of the screen
|
||||
|
||||
This is not an app, but instead it is a library that can be used by
|
||||
other applications or widgets to display messages.
|
||||
This module is installed by default by client applications such as Gadgetbridge.
|
||||
|
||||
**Note:** There are other implementations of this library available such
|
||||
as `notifyfs` (Fullscreen Notifications). These can be used in the exact
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
0.01: First release
|
||||
0.02: Display 12 hour clock as 12:xx not 00:xx when just into PM
|
||||
|
|
|
@ -73,7 +73,8 @@ function draw() {
|
|||
|
||||
// fix hh for 12hr clock
|
||||
var h2 = "0" + parseInt(hh) % 12 || 12;
|
||||
hh = h2.substr(h2.length -2);
|
||||
if (parseInt(hh) > 12)
|
||||
hh = h2.substr(h2.length -2);
|
||||
|
||||
var w = g.getWidth();
|
||||
var h = g.getHeight();
|
||||
|
|
Loading…
Reference in New Issue