mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
consolidate slideout panels
This commit is contained in:
parent
bb1d91b46a
commit
69a57de928
17 changed files with 388 additions and 198 deletions
|
@ -126,8 +126,17 @@ var WebNotifications = {
|
|||
|
||||
if (window.cordova && window.cordova.plugins && window.cordova.plugins.notification) {
|
||||
|
||||
if (!WebNotifications.lastId) {
|
||||
// Cordova plugin will crash on android with long. need an int
|
||||
WebNotifications.lastId = new Date().getDate() + new Date().getMilliseconds();
|
||||
}
|
||||
|
||||
WebNotifications.lastId++;
|
||||
|
||||
window.cordova.plugins.notification.local.schedule({
|
||||
id: new Date().getTime(),
|
||||
|
||||
id: WebNotifications.lastId,
|
||||
|
||||
title: data.title,
|
||||
text: data.body,
|
||||
//firstAt: monday_9_am,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue