Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0

This commit is contained in:
OverSu 2026-12-01 22:22:00 +01:00
commit e241a42d2f

View file

@ -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);