Removed unnecessary call to getRemoteUseCase
This commit is contained in:
parent
ee050284df
commit
b62684e29d
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user