Fixed new branch not appearing in the log

This commit is contained in:
Abdelilah El Aissaoui 2022-06-01 15:01:51 +02:00
parent 8a25dadc12
commit e8c3a3de6f

View File

@ -39,7 +39,7 @@ class BranchesViewModel @Inject constructor(
} }
fun createBranch(branchName: String) = tabState.safeProcessing( fun createBranch(branchName: String) = tabState.safeProcessing(
refreshType = RefreshType.NONE, refreshType = RefreshType.ONLY_LOG,
) { git -> ) { git ->
branchesManager.createBranch(git, branchName) branchesManager.createBranch(git, branchName)
this.loadBranches(git) this.loadBranches(git)