From 50bcaaf9ec38633a9b0ea9dfef35aaaa40c3a079 Mon Sep 17 00:00:00 2001 From: Shane Harris Date: Fri, 5 Aug 2022 10:32:51 +0200 Subject: [PATCH] fixed proximity enable status message --- .../src/app/headset-settings/headset-settings.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-app/src/app/headset-settings/headset-settings.component.ts b/desktop-app/src/app/headset-settings/headset-settings.component.ts index a7d5d39..fbf4c73 100644 --- a/desktop-app/src/app/headset-settings/headset-settings.component.ts +++ b/desktop-app/src/app/headset-settings/headset-settings.component.ts @@ -195,7 +195,7 @@ export class HeadsetSettingsComponent implements OnInit { disableProximity(shouldEnable) { this.runAdbCommand('am broadcast -a com.oculus.vrpowermanager.' + (shouldEnable ? 'automation_disable' : 'prox_close')) .then(() => { - this.statusService.showStatus('Disable proximity message sent OK!!'); + this.statusService.showStatus((shouldEnable ? 'Enable' : 'Disable') + ' proximity message sent OK!!'); }) .catch(e => this.statusService.showStatus(e, true)); }