feat: added QrScript support for templates
This commit is contained in:
@@ -84,10 +84,12 @@ fun SelectTemplatePage(innerPadding: PaddingValues) {
|
||||
) { result ->
|
||||
if (result.resultCode == Activity.RESULT_OK) {
|
||||
val codeValue = result.data?.getStringExtra("codeValue")
|
||||
val codeTypeString = result.data?.getStringExtra("codeType")
|
||||
|
||||
val resultIntent = Intent()
|
||||
|
||||
resultIntent.putExtra("codeValue", codeValue)
|
||||
resultIntent.putExtra("codeType", codeTypeString)
|
||||
|
||||
activityContext!!.setResult(Activity.RESULT_OK, resultIntent)
|
||||
activityContext.finish()
|
||||
|
||||
Reference in New Issue
Block a user