mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
send the package in the intent result
This commit is contained in:
@@ -54,6 +54,7 @@ import androidx.navigation.compose.composable
|
||||
import androidx.navigation.compose.currentBackStackEntryAsState
|
||||
import androidx.navigation.compose.rememberNavController
|
||||
import androidx.navigation.navArgument
|
||||
import com.greenart7c3.nostrsigner.BuildConfig
|
||||
import com.greenart7c3.nostrsigner.LocalPreferences
|
||||
import com.greenart7c3.nostrsigner.R
|
||||
import com.greenart7c3.nostrsigner.models.Account
|
||||
@@ -96,6 +97,7 @@ fun sendResult(
|
||||
intent.putExtra("signature", value)
|
||||
intent.putExtra("id", intentData.id)
|
||||
intent.putExtra("event", event)
|
||||
intent.putExtra("package", BuildConfig.APPLICATION_ID)
|
||||
activity?.setResult(RESULT_OK, intent)
|
||||
} else if (intentData.callBackUrl != null) {
|
||||
if (intentData.returnType == ReturnType.SIGNATURE) {
|
||||
|
||||
Reference in New Issue
Block a user