feat: create cloud-free Wino Mail fork

This commit is contained in:
root
2026-04-29 01:32:51 +02:00
parent ef12e0ff3a
commit e2cc79a471
37 changed files with 137 additions and 3905 deletions

View File

@@ -73,40 +73,6 @@ public partial class WelcomePageV2ViewModel : MailBaseViewModel
ProviderSelectionNavigationContext.CreateForWizard()));
}
[RelayCommand(CanExecute = nameof(CanOpenWelcomeActions))]
private async Task ImportFromWinoAccountAsync()
{
await ExecuteUIThread(() => ImportStatusMessage = string.Empty);
try
{
var account = await _dialogService.ShowWinoAccountLoginDialogAsync().ConfigureAwait(false);
if (account == null)
{
return;
}
await ExecuteUIThread(() => IsImportInProgress = true);
var result = await _syncService.ImportAsync(new WinoAccountSyncSelection()).ConfigureAwait(false);
if (result.ImportedMailboxCount > 0)
{
ReportUIChange(new WelcomeImportCompletedMessage(result.ImportedMailboxCount));
return;
}
await ExecuteUIThread(() => ImportStatusMessage = BuildInlineImportMessage(result));
}
catch (Exception ex)
{
await _dialogService.ShowMessageAsync(ex.Message, Translator.GeneralTitle_Error, WinoCustomMessageDialogIcon.Error);
}
finally
{
await ExecuteUIThread(() => IsImportInProgress = false);
}
}
[RelayCommand(CanExecute = nameof(CanOpenWelcomeActions))]
private async Task ImportFromJsonAsync()
{