Skip to content

Commit

Permalink
chore: remove disabled Menu when dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
rafael-rosa-knowcode committed Nov 7, 2024
1 parent 0e0b086 commit 9c0456d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Uno.UI.RemoteControl.VS/Commands/UnoMenuCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ public void Dispose()

if (_unoMainMenuItem is not null)
{
_unoMainMenuItem.Enabled = false;
_unoMainMenuItem.Visible = false;
CommandService.RemoveCommand(_unoMainMenuItem);
}
}
}

0 comments on commit 9c0456d

Please sign in to comment.