Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a

This commit is contained in:
OverSu 2026-11-28 12:20:19 +01:00
commit 3a1fba4efe

View file

@ -275,6 +275,11 @@
}
if (type === 'screen-on') window.ScreenManager?.turnScreenOn(true);
if (type === 'home' || type === 'holdhome') {
if (window.VulpesPlatform === 'tundra' && type === 'home') {
call('settings.get', {key:'vibration.enabled'}).then(setting => {
if (setting.value !== false) navigator.vibrate(30);
}).catch(console.error);
}
call('activities.cancel', {}).catch(console.error);
dispatchEvent(new CustomEvent(type));
}