allow for custom notification sounds
This commit is contained in:
parent
1ca64b1d57
commit
e791390e2d
5 changed files with 65 additions and 16 deletions
|
@ -111,7 +111,12 @@ export class Specialuser {
|
|||
return new Proxy(e, {
|
||||
set: (target, p, newValue, receiver) => {
|
||||
const bool = Reflect.set(target, p, newValue, receiver);
|
||||
this.updateLocal();
|
||||
try {
|
||||
this.updateLocal();
|
||||
} catch (_) {
|
||||
Reflect.deleteProperty(target, p);
|
||||
throw _;
|
||||
}
|
||||
return bool;
|
||||
},
|
||||
get: (target, p, receiver) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue