Skip to content

Commit d6b5dc9

Browse files
authored
Fix streaming dialog and use less text on register button (blakeblackshear#16518)
1 parent 11baf23 commit d6b5dc9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

web/src/components/menu/LiveContextMenu.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ export default function LiveContextMenu({
8585
if (cameraGroup && cameraGroup != "default") {
8686
setGroupStreamingSettings(allGroupsStreamingSettings[cameraGroup]);
8787
}
88-
// set individual group when all groups changes
89-
// eslint-disable-next-line react-hooks/exhaustive-deps
90-
}, [allGroupsStreamingSettings]);
88+
}, [allGroupsStreamingSettings, cameraGroup]);
9189

9290
const onSave = useCallback(
9391
(settings: GroupStreamingSettings) => {

web/src/views/settings/NotificationsSettingsView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ export default function NotificationView({
484484
}
485485
}}
486486
>
487-
{`${registration != null ? "Unregister" : "Register"} for notifications on this device`}
487+
{`${registration != null ? "Unregister" : "Register"} this device`}
488488
</Button>
489489
{registration != null && registration.active && (
490490
<Button

0 commit comments

Comments
 (0)