add removal todo comment

This commit is contained in:
Jeremy Wu 2025-09-30 22:28:41 +10:00 committed by GitHub
parent 9be546d6c7
commit 652ec40d82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -386,6 +386,7 @@ namespace Flow.Launcher.Plugin.Shell
context.API.RegisterGlobalKeyboardCallback(API_GlobalKeyboardEvent);
// Since the old Settings class set default value of ShowOnlyMostUsedCMDsNumber to 0 which is a wrong value,
// we need to fix it here to make sure the default value is 5
// todo: remove this code block after release v2.2.0
if (_settings.ShowOnlyMostUsedCMDsNumber == 0)
{
_settings.ShowOnlyMostUsedCMDsNumber = 5;