Fixed text not being cleared after commit
This commit is contained in:
parent
054778bdcc
commit
a32f4d5ccd
@ -87,6 +87,7 @@ fun UncommitedChanges(
|
|||||||
statusViewModel.commit(commitMessage, amend)
|
statusViewModel.commit(commitMessage, amend)
|
||||||
onStagedDiffEntrySelected(null)
|
onStagedDiffEntrySelected(null)
|
||||||
statusViewModel.savedCommitMessage = ""
|
statusViewModel.savedCommitMessage = ""
|
||||||
|
commitMessage = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
val canCommit = commitMessage.isNotEmpty() && staged.isNotEmpty()
|
val canCommit = commitMessage.isNotEmpty() && staged.isNotEmpty()
|
||||||
|
Loading…
Reference in New Issue
Block a user