mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 17:11:20 -08:00
Fix the connected tracker modal not having it's config saved (#896)
This commit is contained in:
1 parent
59863fa7f3
commit
751c2e2f3b
1 file changed
+5
@@ -28,6 +28,7 @@ interface InterfaceSettingsForm {
|
||||
watchNewDevices: boolean;
|
||||
feedbackSound: boolean;
|
||||
feedbackSoundVolume: number;
|
||||
connectedTrackersWarning: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,6 +50,9 @@ export function InterfaceSettings() {
|
||||
feedbackSound: config?.feedbackSound ?? defaultConfig.feedbackSound,
|
||||
feedbackSoundVolume:
|
||||
config?.feedbackSoundVolume ?? defaultConfig.feedbackSoundVolume,
|
||||
connectedTrackersWarning:
|
||||
config?.connectedTrackersWarning ??
|
||||
defaultConfig.connectedTrackersWarning,
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -62,6 +66,7 @@ export function InterfaceSettings() {
|
||||
theme: values.appearance.theme,
|
||||
fonts: values.appearance.fonts.split(','),
|
||||
textSize: values.appearance.textSize,
|
||||
connectedTrackersWarning: values.notifications.connectedTrackersWarning,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user