Advance a step when returning to SetupWizard from restore

This commit is contained in:
Torsten Grote 2019-09-23 16:15:26 -03:00
parent 77cb935fa4
commit d81c355799
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF

View file

@ -1,5 +1,6 @@
package com.stevesoltys.backup.restore
import android.app.Activity.RESULT_OK
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
@ -64,7 +65,10 @@ class RestoreProgressFragment : Fragment() {
activity?.window?.clearFlags(FLAG_KEEP_SCREEN_ON)
})
button.setOnClickListener { requireActivity().finishAfterTransition() }
button.setOnClickListener {
requireActivity().setResult(RESULT_OK)
requireActivity().finishAfterTransition()
}
}
}