Remove dead code

This commit is contained in:
Julian Raufelder 2021-02-01 00:12:16 +01:00
parent 36f7b80002
commit a6b327f264
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D

View File

@ -605,17 +605,9 @@ class VaultListPresenter @Inject constructor( //
}
fun onRowMoved(fromPosition: Int, toPosition: Int) {
getVaultListUseCase.run(object : DefaultResultHandler<List<Vault>>() {
override fun onSuccess(vaults: List<Vault>) {
view?.rowMoved(fromPosition, toPosition)
}
override fun onError(e: Throwable) {
Timber.tag("VaultListPresenter").e(e, "Failed to query vault list while row moving")
}
})
}
fun onVaultMoved(fromPosition: Int, toPosition: Int) {
moveVaultUseCase
.withFrom(fromPosition) //