App icon; language/theme follow Windows on first run; flush save on exit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -57,9 +57,15 @@ namespace ReminderOrganizer.Services
|
||||
public void Initialize(AppData appData)
|
||||
{
|
||||
_appData = appData;
|
||||
if (!string.IsNullOrEmpty(appData.Language))
|
||||
var lang = string.IsNullOrEmpty(appData.Language) ? Core.SystemPrefs.Language() : appData.Language;
|
||||
if (lang == _currentLanguage)
|
||||
{
|
||||
SetLanguage(appData.Language);
|
||||
appData.Language = lang;
|
||||
StringsChanged?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetLanguage(lang);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user