check if completed intro setup process

This commit is contained in:
choco
2025-10-15 16:37:56 +02:00
parent a66a43dda8
commit 04c00af92e

View File

@@ -167,8 +167,10 @@ public class LightlessPlugin : MediatorSubscriberBase, IHostedService
} }
else if (!string.Equals(lastSeen, currentVersion, StringComparison.Ordinal)) else if (!string.Equals(lastSeen, currentVersion, StringComparison.Ordinal))
{ {
// TODO: actually check if setup is complete if (_lightlessConfigService.Current.HasValidSetup() && _serverConfigurationManager.HasValidConfig())
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi))); {
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
}
_lightlessConfigService.Current.LastSeenVersion = currentVersion; _lightlessConfigService.Current.LastSeenVersion = currentVersion;
_lightlessConfigService.Save(); _lightlessConfigService.Save();
} }