mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
mark PopulateHistoryFromLegacyHistory obsolete
This commit is contained in:
parent
55673cdb4b
commit
ea7a2d271d
3 changed files with 2 additions and 2 deletions
|
|
@ -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; }
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue