Removed unnecessary call to getRemoteUseCase

This commit is contained in:
Abdelilah El Aissaoui 2023-03-18 18:06:58 +01:00
parent ee050284df
commit b62684e29d
No known key found for this signature in database
GPG Key ID: 7587FC860F594869

View File

@ -72,8 +72,6 @@ class RemotesViewModel @AssistedInject constructor(
.call()
val allRemoteBranches = getRemoteBranchesUseCase(git)
getRemotesUseCase(git, allRemoteBranches)
val remoteInfoList = remotes.map { remoteConfig ->
val remoteBranches = allRemoteBranches.filter { branch ->
branch.name.startsWith("refs/remotes/${remoteConfig.name}")