check if completed intro setup process
This commit is contained in:
@@ -167,8 +167,10 @@ public class LightlessPlugin : MediatorSubscriberBase, IHostedService
|
||||
}
|
||||
else if (!string.Equals(lastSeen, currentVersion, StringComparison.Ordinal))
|
||||
{
|
||||
// TODO: actually check if setup is complete
|
||||
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
|
||||
if (_lightlessConfigService.Current.HasValidSetup() && _serverConfigurationManager.HasValidConfig())
|
||||
{
|
||||
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
|
||||
}
|
||||
_lightlessConfigService.Current.LastSeenVersion = currentVersion;
|
||||
_lightlessConfigService.Save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user