mirror of
https://github.com/RobinLinus/snapdrop.git
synced 2025-05-16 07:30:12 -07:00
Cleanup
This commit is contained in:
parent
82de30525b
commit
aea121ca93
@ -18,7 +18,7 @@
|
|||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},{
|
},{
|
||||||
"src": "logo_transparent_white_512x512.png",
|
"src": "images/logo_transparent_white_512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}],
|
}],
|
||||||
|
@ -361,7 +361,7 @@ class Notifications {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
_notify(message, body, closeTimeout = 10000) {
|
_notify(message, body, closeTimeout = 20000) {
|
||||||
const config = {
|
const config = {
|
||||||
body: body,
|
body: body,
|
||||||
icon: '/images/logo_transparent_128x128.png',
|
icon: '/images/logo_transparent_128x128.png',
|
||||||
@ -440,6 +440,7 @@ class NetworkStatusUI{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Snapdrop {
|
class Snapdrop {
|
||||||
constructor() {
|
constructor() {
|
||||||
const server = new ServerConnection();
|
const server = new ServerConnection();
|
||||||
@ -452,6 +453,7 @@ class Snapdrop {
|
|||||||
const toast = new Toast();
|
const toast = new Toast();
|
||||||
const notifications = new Notifications();
|
const notifications = new Notifications();
|
||||||
const networkStatusUI = new NetworkStatusUI();
|
const networkStatusUI = new NetworkStatusUI();
|
||||||
|
const webShareTargetUI = new WebShareTargetUI();
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user