mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-18 18:14:21 +01:00
web signer bug fix
This commit is contained in:
@@ -344,7 +344,7 @@ class _WebViewComponent extends State<WebViewComponent>
|
|||||||
callback: (jsMsgs) async {
|
callback: (jsMsgs) async {
|
||||||
var jsMsg = jsMsgs[0];
|
var jsMsg = jsMsgs[0];
|
||||||
print("Nowser_JS_nip04_decrypt $jsMsg");
|
print("Nowser_JS_nip04_decrypt $jsMsg");
|
||||||
var jsonObj = jsonDecode(jsMsg.message);
|
var jsonObj = jsonDecode(jsMsg);
|
||||||
var resultId = jsonObj["resultId"];
|
var resultId = jsonObj["resultId"];
|
||||||
var msg = jsonObj["msg"];
|
var msg = jsonObj["msg"];
|
||||||
if (msg != null && msg is Map) {
|
if (msg != null && msg is Map) {
|
||||||
@@ -411,7 +411,7 @@ class _WebViewComponent extends State<WebViewComponent>
|
|||||||
callback: (jsMsgs) async {
|
callback: (jsMsgs) async {
|
||||||
var jsMsg = jsMsgs[0];
|
var jsMsg = jsMsgs[0];
|
||||||
print("Nowser_JS_nip44_decrypt $jsMsg");
|
print("Nowser_JS_nip44_decrypt $jsMsg");
|
||||||
var jsonObj = jsonDecode(jsMsg.message);
|
var jsonObj = jsonDecode(jsMsg);
|
||||||
var resultId = jsonObj["resultId"];
|
var resultId = jsonObj["resultId"];
|
||||||
var msg = jsonObj["msg"];
|
var msg = jsonObj["msg"];
|
||||||
if (msg != null && msg is Map) {
|
if (msg != null && msg is Map) {
|
||||||
|
|||||||
Reference in New Issue
Block a user