fix(macos): call the tray store's real accessor in the Dock policy

The Dock-hiding policy read the tray settings through `.get()`, which does not
exist on `TraySettingsState`; the method is `get_settings()`, as the same file
already calls it twelve lines above. The call sits inside a macOS cfg block, so
Linux and Windows compiled cleanly and only the two macOS release legs failed.

Verified by a release build on the Mac mini.

cc
This commit is contained in:
vicrodh committed 2026-09-16 23:57:51 -06:00
1 parent 77c2a0d513
commit 546aaa1bc0
1 file changed
+1 -1
+1 -1
View File
@@ -645,7 +645,7 @@ pub(crate) fn refresh_mac_dock_policy(tray_live: bool) {
#[cfg(target_os = "macos")]
{
let hide_dock = crate::settings_qt::tray()
.get()
.get_settings()
.map(|settings| settings.mac_hide_dock)
.unwrap_or(false);
set_mac_dock_hidden(mac_dock_should_hide(