Parse backup file in restore function

This commit is contained in:
Moez Bhatti
2018-08-27 01:42:17 -04:00
parent cb3b1e47a1
commit 6656691abc
5 changed files with 21 additions and 23 deletions
@@ -65,7 +65,7 @@ class BackupPresenter @Inject constructor(
view.restoreFileSelected()
.autoDisposable(view.scope())
.subscribe { performRestore.execute(Unit) }
.subscribe { backup -> performRestore.execute(backup) }
view.fabClicks()
.withLatestFrom(billingManager.upgradeStatus) { _, upgraded -> upgraded }