Fixed Warnings
This commit is contained in:
@@ -13,7 +13,7 @@ public partial class LogViewerControl : UserControl
|
||||
}
|
||||
|
||||
|
||||
private ILogDataStoreImpl? vm;
|
||||
private ILogDataStoreCore? vm;
|
||||
private LogModel? item;
|
||||
|
||||
private void OnDataContextChanged(object? sender, EventArgs e)
|
||||
@@ -21,7 +21,7 @@ public partial class LogViewerControl : UserControl
|
||||
if (DataContext is null)
|
||||
return;
|
||||
|
||||
vm = (ILogDataStoreImpl)DataContext;
|
||||
vm = (ILogDataStoreCore)DataContext;
|
||||
vm.DataStore.Entries.CollectionChanged += OnCollectionChanged;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user