We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a286e45 commit eb11098Copy full SHA for eb11098
thepeer-android/src/main/java/co/thepeer/sdk/ui/fragments/HostDialogFragment.kt
@@ -79,14 +79,11 @@ class HostDialogFragment(private val thePeerParam: ThePeerParam) :
79
redirectWithResult(ThePeerResult.Cancelled)
80
}
81
82
-
83
private fun redirectWithResult(result: ThePeerResult) {
84
val resultData = Intent()
85
resultData.putExtra(ThePeerConstants.TRANSACTION_RESULT, result)
86
activity?.setResult(AppCompatActivity.RESULT_OK, resultData)
87
activity?.finish()
88
89
90
91
92
0 commit comments