mark PopulateHistoryFromLegacyHistory obsolete

This commit is contained in:
Jeremy 2026-01-04 21:37:39 +11:00
parent 55673cdb4b
commit ea7a2d271d
3 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
namespace Flow.Launcher.Storage namespace Flow.Launcher.Storage
{ {
[Obsolete("Use LastOpenedHistoryItem instead. This class will be removed in future versions.")] [Obsolete("Use LastOpenedHistoryResult instead. This class will be removed in future versions.")]
public class HistoryItem public class HistoryItem
{ {
public string Query { get; set; } public string Query { get; set; }

View file

@ -25,6 +25,7 @@ namespace Flow.Launcher.Storage
/// <see cref="LastOpenedHistoryResult"/> format and append them to /// <see cref="LastOpenedHistoryResult"/> format and append them to
/// <see cref="LastOpenedHistoryItems"/>. /// <see cref="LastOpenedHistoryItems"/>.
/// </summary> /// </summary>
[Obsolete("For backwards comaptibility. Remove after release v2.3.0")]
public void PopulateHistoryFromLegacyHistory() public void PopulateHistoryFromLegacyHistory()
{ {
if (Items.Count == 0) return; if (Items.Count == 0) return;

View file

@ -1386,7 +1386,6 @@ namespace Flow.Launcher.ViewModel
/// </remarks> /// </remarks>
internal void RefreshLastOpenedHistoryResults() internal void RefreshLastOpenedHistoryResults()
{ {
// TODO: remove after release v2.3.0
_history.PopulateHistoryFromLegacyHistory(); _history.PopulateHistoryFromLegacyHistory();
_history.UpdateIcoPathAbsolute(); _history.UpdateIcoPathAbsolute();