Workshop - Added indicator for official submissions

Router - Reload previous screen if navigation is cancelled
Profile editor - Disable auto-update when editing workshop profiles
This commit is contained in:
Robert committed 2024-07-20 22:34:41 +02:00
1 parent 3b2d799bfc
commit b00f5ca73a
14 files changed
+127 -42

No files matched your search

@@ -391,19 +391,12 @@ internal class ProfileEditorService : IProfileEditorService
_pixelsPerSecondSubject.OnNext(pixelsPerSecond);
}
/// <inheritdoc />
public void SaveProfile()
{
Profile? profile = _profileConfigurationSubject.Value?.Profile;
if (profile != null)
_profileService.SaveProfile(profile, true);
}
/// <inheritdoc />
public async Task SaveProfileAsync()
{
await Task.Run(SaveProfile);
Profile? profile = _profileConfigurationSubject.Value?.Profile;
if (profile != null)
await Task.Run(() => _profileService.SaveProfile(profile, true));
}
/// <inheritdoc />