remove AI integration and account limits

This commit is contained in:
2026-04-29 18:34:42 +02:00
parent 7098a6353c
commit 2f1345908b
56 changed files with 74 additions and 1429 deletions

View File

@@ -45,14 +45,13 @@ public partial class AccountManagementViewModel : AccountManagementPageViewModel
INavigationService navigationService,
IAccountService accountService,
IProviderService providerService,
IStoreManagementService storeManagementService,
IWinoAccountProfileService winoAccountProfileService,
IWinoAccountDataSyncService syncService,
IWinoLogger winoLogger,
ISpecialImapProviderConfigResolver specialImapProviderConfigResolver,
ICalDavClient calDavClient,
IAuthenticationProvider authenticationProvider,
IPreferencesService preferencesService) : base(dialogService, navigationService, accountService, providerService, storeManagementService, winoAccountProfileService, authenticationProvider, preferencesService)
IPreferencesService preferencesService) : base(dialogService, navigationService, accountService, providerService, winoAccountProfileService, authenticationProvider, preferencesService)
{
MailDialogService = dialogService;
_syncService = syncService;
@@ -90,23 +89,14 @@ public partial class AccountManagementViewModel : AccountManagementPageViewModel
[RelayCommand]
private async Task AddNewAccountAsync()
private Task AddNewAccountAsync()
{
if (IsAccountCreationBlocked)
{
var isPurchaseClicked = await DialogService.ShowConfirmationDialogAsync(Translator.DialogMessage_AccountLimitMessage, Translator.DialogMessage_AccountLimitTitle, Translator.Buttons_Purchase);
if (!isPurchaseClicked) return;
await PurchaseUnlimitedAccountAsync();
return;
}
Messenger.Send(new BreadcrumbNavigationRequested(
Translator.WelcomeWizard_Step2Title,
WinoPage.ProviderSelectionPage,
ProviderSelectionNavigationContext.CreateForSettingsAddAccount()));
return Task.CompletedTask;
}
public Task StartAddNewAccountAsync() => AddNewAccountAsync();
@@ -400,7 +390,6 @@ public partial class AccountManagementViewModel : AccountManagementPageViewModel
});
await ManageStorePurchasesAsync().ConfigureAwait(false);
}
private static string BuildExportSuccessMessage(Wino.Core.Domain.Models.Accounts.WinoAccountSyncExportResult result)