public ThemeEditorWindowEmptyViewController(ThemeEditorWindowEmptyView view)
 {
     _view = view;
     _view.CreateButtonClickedAsObservable.Subscribe(_ =>
     {
         if (PaletteStore.LoadAsset() == null)
         {
             PaletteStore.CreateAsset();
         }
         else
         {
             throw new InvalidOperationException($"{nameof(PaletteStore)} already exists.");
         }
     }).DisposeWith(_disposables);
 }
Example #2
0
 public ThemeEditorEmptyViewPresenter(ThemeEditorWindowEmptyView view)
 {
 }