mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-08-03 18:19:18 +00:00
Added MAAC persistence support and password management features
- Introduced `MAACStorage` for managing multi-account auto-confirmers persistence - Added `SetAccountPasswordsView` dialog for managing account passwords setup - Enhanced `Storage` with async methods for file operations - Added `BoolToValueConverter` for flexible XAML data bindings - Enhanced user experience in dialogs with `IsDefault` and `IsCancel` properties
This commit is contained in:
@@ -29,7 +29,7 @@ public partial class SessionHandler //API
|
||||
//Trigger PropertyChanged event for PortableMaClient handling session updated from MaClient
|
||||
//RETHINK: it makes double operation when session handled from PortableMaClient (more often scenario) which is unwanted behaviour
|
||||
mafile.SetSessionData(mafile.SessionData);
|
||||
Storage.UpdateMafile(mafile);
|
||||
await Storage.UpdateMafileAsync(mafile);
|
||||
chp.Handler.CookieContainer.SetSteamMobileCookiesWithMobileToken(mafile.SessionData);
|
||||
}
|
||||
|
||||
@@ -53,6 +53,6 @@ public partial class SessionHandler //API
|
||||
mafile.SetSessionData((MobileSessionData) result);
|
||||
if (PHandler.IsPasswordSet)
|
||||
mafile.Password = savePassword ? PHandler.Encrypt(password) : null;
|
||||
Storage.UpdateMafile(mafile);
|
||||
await Storage.UpdateMafileAsync(mafile);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user