Added loading screen when deleting branch from side panel
This commit is contained in:
parent
39b2a7e8b9
commit
60e67d9683
@ -437,8 +437,8 @@ class LogViewModel @Inject constructor(
|
||||
|
||||
fun deleteRemoteBranch(branch: Ref) = tabState.safeProcessing(
|
||||
refreshType = RefreshType.ALL_DATA,
|
||||
title = "Delete remote branch",
|
||||
subtitle = "Deleting remote branch ${branch.simpleName}",
|
||||
title = "Deleting remote branch",
|
||||
subtitle = "Remote branch ${branch.simpleName} will be deleted from the remote",
|
||||
) { git ->
|
||||
deleteRemoteBranchUseCase(git, branch)
|
||||
}
|
||||
|
@ -94,6 +94,8 @@ class RemotesViewModel @AssistedInject constructor(
|
||||
|
||||
fun deleteRemoteBranch(ref: Ref) = tabState.safeProcessing(
|
||||
refreshType = RefreshType.ALL_DATA,
|
||||
title = "Deleting remote branch",
|
||||
subtitle = "Remote branch ${ref.simpleName} will be deleted from the remote",
|
||||
) { git ->
|
||||
deleteRemoteBranchUseCase(git, ref)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user