add comment

This commit is contained in:
Jeremy Wu 2024-08-11 20:54:10 +10:00 committed by GitHub
parent 81e5eaf10d
commit 7e3690f007
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,6 +58,8 @@ namespace Flow.Launcher.Core.Resource
private void LoadDefaultLanguage()
{
// Removes language files loaded before any plugins were loaded.
// Prevents the language Flow started in from overwriting English if the user switches back to English
RemoveOldLanguageFiles();
LoadLanguage(AvailableLanguages.English);
_oldResources.Clear();