File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,6 @@ private void InitializeViewModel()
3939 [ ObservableProperty ]
4040 private EnvironmentModel ? _currentEnvironment ;
4141
42- [ ObservableProperty ]
43- [ NotifyCanExecuteChangedFor ( nameof ( RemoveEnvironmentCommand ) , nameof ( CheckEnvironmentCommand ) ) ]
44- private bool _environmentSelected ;
45-
4642 protected override void OnPropertyChanged ( PropertyChangedEventArgs e )
4743 {
4844 base . OnPropertyChanged ( e ) ;
@@ -198,7 +194,6 @@ private async Task RemoveEnvironment(EnvironmentModel environment)
198194
199195 var mainWindowViewModel = App . GetService < MainWindowViewModel > ( ) ;
200196 mainWindowViewModel . ApplicationTitle = "Pip Manager" ;
201- EnvironmentSelected = false ;
202197 }
203198
204199 #endregion
Original file line number Diff line number Diff line change @@ -141,6 +141,10 @@ public Task OnNavigatedToAsync()
141141 {
142142 if ( ! _isInitialized )
143143 InitializeViewModel ( ) ;
144+ Application . Current . Dispatcher . InvokeAsync ( ( ) =>
145+ {
146+ navigationService . GetNavigationControl ( ) . BreadcrumbBar ! . Visibility = Visibility . Visible ;
147+ } ) ;
144148 return Task . CompletedTask ;
145149 }
146150
You can’t perform that action at this time.
0 commit comments