Diff view closes if user clicks on a different stash/commit
This commit is contained in:
parent
d4991bf7b4
commit
bf6600878b
1 changed files with 5 additions and 1 deletions
|
@ -32,7 +32,11 @@ fun RepositoryOpenPage(gitManager: GitManager) {
|
|||
|
||||
var showNewBranchDialog by remember { mutableStateOf(false) }
|
||||
|
||||
var (selectedItem, setSelectedItem) = remember { mutableStateOf<SelectedItem>(SelectedItem.None) }
|
||||
val (selectedItem, setSelectedItem) = remember { mutableStateOf<SelectedItem>(SelectedItem.None) }
|
||||
|
||||
LaunchedEffect(selectedItem) {
|
||||
diffSelected = null
|
||||
}
|
||||
|
||||
if(showNewBranchDialog) {
|
||||
NewBranchDialog(
|
||||
|
|
Loading…
Reference in a new issue