From 7dc2ad0a7256267d16e27896daee7ec59ebfa610 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Fri, 4 Feb 2022 18:54:03 +0100 Subject: [PATCH] All the tab is refreshed now after a push --- src/main/kotlin/app/viewmodels/MenuViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/viewmodels/MenuViewModel.kt b/src/main/kotlin/app/viewmodels/MenuViewModel.kt index e1379bf..1e256f5 100644 --- a/src/main/kotlin/app/viewmodels/MenuViewModel.kt +++ b/src/main/kotlin/app/viewmodels/MenuViewModel.kt @@ -27,7 +27,7 @@ class MenuViewModel @Inject constructor( fun push(force: Boolean = false) = tabState.safeProcessing { git -> remoteOperationsManager.push(git, force) - return@safeProcessing RefreshType.ONLY_LOG + return@safeProcessing RefreshType.ALL_DATA } fun stash() = tabState.safeProcessing { git ->