add silent setting when writing time update setting
This commit is contained in:
parent
81667f3bb4
commit
3927a04881
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default class fc {
|
||||||
DURATION_PREFERENCES[`duration`] = 24;
|
DURATION_PREFERENCES[`duration`] = 24;
|
||||||
|
|
||||||
// Write it.
|
// Write it.
|
||||||
await write([`settings`, `sync`], DURATION_PREFERENCES, -1);
|
await write([`settings`, `sync`], DURATION_PREFERENCES, -1, {"silent": true});
|
||||||
};
|
};
|
||||||
|
|
||||||
if (((typeof DURATION_PREFERENCES).includes(`obj`) && DURATION_PREFERENCES != null && !Array.isArray(DURATION_PREFERENCES)) ? ((DURATION_PREFERENCES[`duration`]) ? (DURATION_PREFERENCES[`duration`] > 0) : false) : false) {
|
if (((typeof DURATION_PREFERENCES).includes(`obj`) && DURATION_PREFERENCES != null && !Array.isArray(DURATION_PREFERENCES)) ? ((DURATION_PREFERENCES[`duration`]) ? (DURATION_PREFERENCES[`duration`] > 0) : false) : false) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue