fix(reminder): invoke cfg signal correctly to access reminder config

This commit is contained in:
Johannes Millan 2026-01-09 15:36:27 +01:00
parent 93c319830f
commit 10d652a382

View file

@ -81,7 +81,7 @@ export class ReminderModule {
),
)
.subscribe((reminders: Reminder[]) => {
if (IS_ELECTRON && this._globalConfigService.cfg?.reminder?.isFocusWindow) {
if (IS_ELECTRON && this._globalConfigService.cfg()?.reminder?.isFocusWindow) {
this._uiHelperService.focusApp();
}