Fix console app state
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using FileTime.App.Core.ViewModels;
|
using FileTime.App.Core.ViewModels;
|
||||||
using FileTime.ConsoleUI.App.Preview;
|
using FileTime.ConsoleUI.App.Preview;
|
||||||
|
using FileTime.Core.Services;
|
||||||
using PropertyChanged.SourceGenerator;
|
using PropertyChanged.SourceGenerator;
|
||||||
|
|
||||||
namespace FileTime.ConsoleUI.App;
|
namespace FileTime.ConsoleUI.App;
|
||||||
@@ -11,4 +12,8 @@ public partial class ConsoleAppState : AppStateBase, IConsoleAppState
|
|||||||
public ObservableCollection<string> PopupTexts { get; } = new();
|
public ObservableCollection<string> PopupTexts { get; } = new();
|
||||||
|
|
||||||
[Notify] private ItemPreviewType? _previewType = ItemPreviewType.Binary;
|
[Notify] private ItemPreviewType? _previewType = ItemPreviewType.Binary;
|
||||||
|
|
||||||
|
public ConsoleAppState(ITabEvents tabEvents) : base(tabEvents)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user