mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
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:
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 />
|
||||
|
||||
Reference in new issue
Block a user