UI - Fixed UI showing during auto-run even with show on startup disabled

UI - Fixen an issue during startup where Artemis would navigate to home after a few seconds
Workshop - Added Submit new entry button to submissions tab
This commit is contained in:
RobertBeekman committed 2024-02-19 21:54:53 +01:00
1 parent 0b6bf5685e
commit 9126601ae7
3 files changed
+23 -17

No files matched your search

+3 -3
View File
@@ -94,8 +94,6 @@ public class RootViewModel : RoutableHostScreen<RoutableScreen>, IMainWindowProv
registrationService.RegisterBuiltInDataModelDisplays();
registrationService.RegisterBuiltInDataModelInputs();
registrationService.RegisterBuiltInPropertyEditors();
_router.Navigate("home");
});
}
@@ -130,7 +128,9 @@ public class RootViewModel : RoutableHostScreen<RoutableScreen>, IMainWindowProv
bool minimized = Constants.StartupArguments.Contains("--minimized");
bool showOnAutoRun = _settingsService.GetSetting("UI.ShowOnStartup", true).Value;
return (autoRunning && showOnAutoRun) || !minimized;
if (autoRunning)
return showOnAutoRun;
return !minimized;
}
private void ShowSplashScreen()