* feat(preferences): ✨ Add email sync interval setting Introduced a new property `EmailSyncIntervalMinutes` in the `IPreferencesService` interface to allow users to configure the email synchronization interval in minutes. This feature enhances user control over email sync behavior. • Updated `resources.json` to include translations for the new setting. • Implemented the logic for the new property in `PreferencesService.cs`, with a default value of 3 minutes. • Added binding and UI support in `AppPreferencesPageViewModel.cs` and `AppPreferencesPage.xaml` to allow users to modify the sync interval. • Integrated the new setting into `ServerContext.cs` to dynamically adjust the synchronization timer based on user preferences. This change improves the user experience by providing customizable email synchronization settings. * Minimum interval and added an icon. * Proper SetProperty usage. * Making sure the minimum sync interval is 1 in the ServerContext. * Making sure the minimum is applied to first trigger of the sync timer. --------- Co-authored-by: Burak Kaan Köse <bkaankose@outlook.com>
6.5 KiB
6.5 KiB