From ed6f96f4398fa65709b2826689e699fd69c9e33f Mon Sep 17 00:00:00 2001 From: PhilReact Date: Wed, 8 Nov 2023 13:19:36 +0200 Subject: [PATCH] add snackbar --- core/language/us.json | 3 ++- core/src/components/friends-view/profile.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/language/us.json b/core/language/us.json index 9778380d..61823579 100644 --- a/core/language/us.json +++ b/core/language/us.json @@ -1239,6 +1239,7 @@ "profile18": "Open profile", "profile19": "Cannot fetch profile", "profile20": "Register name", - "profile21": "Insert address from UI" + "profile21": "Insert address from UI", + "profile22": "Success" } } \ No newline at end of file diff --git a/core/src/components/friends-view/profile.js b/core/src/components/friends-view/profile.js index 8d574ab1..cbce23f8 100644 --- a/core/src/components/friends-view/profile.js +++ b/core/src/components/friends-view/profile.js @@ -593,7 +593,7 @@ class ProfileQdn extends connect(store)(LitElement) { this.resourceExists = true; this.profileData = data; store.dispatch(setProfileData(data)); - + parentEpml.request('showSnackBar', get('profile.profile22')) worker.terminate(); } catch (error) {