Remove dead code
This commit is contained in:
parent
36f7b80002
commit
a6b327f264
@ -605,15 +605,7 @@ class VaultListPresenter @Inject constructor( //
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun onRowMoved(fromPosition: Int, toPosition: Int) {
|
fun onRowMoved(fromPosition: Int, toPosition: Int) {
|
||||||
getVaultListUseCase.run(object : DefaultResultHandler<List<Vault>>() {
|
view?.rowMoved(fromPosition, toPosition)
|
||||||
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) {
|
fun onVaultMoved(fromPosition: Int, toPosition: Int) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user