Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0
This commit is contained in:
parent
3a1fba4efe
commit
e241a42d2f
1 changed files with 1305 additions and 331 deletions
|
|
@ -275,9 +275,9 @@
|
|||
}
|
||||
if (type === 'screen-on') window.ScreenManager?.turnScreenOn(true);
|
||||
if (type === 'home' || type === 'holdhome') {
|
||||
if (window.VulpesPlatform === 'tundra' && type === 'home') {
|
||||
if (window.VulpesPlatform === 'tundra' && window.ScreenManager?.screenEnabled) {
|
||||
call('settings.get', {key:'vibration.enabled'}).then(setting => {
|
||||
if (setting.value !== false) navigator.vibrate(30);
|
||||
if (setting.value !== false) navigator.vibrate(type === 'holdhome' ? [30, 60, 30] : 30);
|
||||
}).catch(console.error);
|
||||
}
|
||||
call('activities.cancel', {}).catch(console.error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue