diff --git a/src/status_im/ethereum/json_rpc.cljs b/src/status_im/ethereum/json_rpc.cljs index b09d6404ba..e61a0e2a3d 100644 --- a/src/status_im/ethereum/json_rpc.cljs +++ b/src/status_im/ethereum/json_rpc.cljs @@ -135,6 +135,7 @@ "multiaccounts_getIdentityImage" {} "multiaccounts_storeIdentityImage" {} "multiaccounts_deleteIdentityImage" {} + "wakuext_changeIdentityImageShowTo" {} "wakuext_createCommunity" {} "wakuext_editCommunity" {} "wakuext_createCommunityChat" {} diff --git a/src/status_im/multiaccounts/core.cljs b/src/status_im/multiaccounts/core.cljs index 36f43f6e4a..68fa28a927 100644 --- a/src/status_im/multiaccounts/core.cljs +++ b/src/status_im/multiaccounts/core.cljs @@ -173,7 +173,11 @@ (fx/defn switch-profile-picture-show-to {:events [:multiaccounts.ui/profile-picture-show-to-switched]} [cofx id] - (multiaccounts.update/multiaccount-update cofx :profile-pictures-show-to id {})) + (fx/merge cofx + {::json-rpc/call [{:method "wakuext_changeIdentityImageShowTo" + :params [id] + :on-success #(log/debug "picture settings changed successfully")}]} + (multiaccounts.update/optimistic :profile-pictures-show-to id))) (fx/defn switch-appearance-profile {:events [:multiaccounts.ui/appearance-profile-switched]} diff --git a/src/status_im/ui/screens/privacy_and_security_settings/views.cljs b/src/status_im/ui/screens/privacy_and_security_settings/views.cljs index 2d140c9227..b476864385 100644 --- a/src/status_im/ui/screens/privacy_and_security_settings/views.cljs +++ b/src/status_im/ui/screens/privacy_and_security_settings/views.cljs @@ -162,7 +162,11 @@ [react/view {:margin-top 8} [ppst-radio-item constants/profile-pictures-show-to-everyone profile-pictures-show-to] [ppst-radio-item constants/profile-pictures-show-to-contacts-only profile-pictures-show-to] - [ppst-radio-item constants/profile-pictures-show-to-none profile-pictures-show-to]])) + [ppst-radio-item constants/profile-pictures-show-to-none profile-pictures-show-to] + + [react/view {:style {:margin-horizontal 16}} + [quo/text {:color :secondary} + (i18n/label :t/privacy-show-to-warning)]]])) (defn ppvf-radio-item [id value] [quo/list-item @@ -176,4 +180,4 @@ [react/view {:margin-top 8} [ppvf-radio-item constants/profile-pictures-visibility-everyone profile-pictures-visibility] [ppvf-radio-item constants/profile-pictures-visibility-contacts-only profile-pictures-visibility] - [ppvf-radio-item constants/profile-pictures-visibility-none profile-pictures-visibility]])) \ No newline at end of file + [ppvf-radio-item constants/profile-pictures-visibility-none profile-pictures-visibility]])) diff --git a/status-go-version.json b/status-go-version.json index 42dcf664d3..3c0a65e2de 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "owner": "status-im", "repo": "status-go", - "version": "v0.89.9", - "commit-sha1": "4e33e4679593c93a8a183f8326a279343e29307d", - "src-sha256": "1286g2mn3vm7n2bmihr2jlkacvjrdyhppxd5mrkpdlj1asxwangj" + "version": "v0.89.10", + "commit-sha1": "75aebd94aba4bdc45dcda96188aa9c8533facdca", + "src-sha256": "1p2vkj00j9m64cd1fhaa12657qxrz4ramshh1g4qm3c1yjkk3091" } diff --git a/translations/en.json b/translations/en.json index 32b53eb58f..6e9020a24e 100644 --- a/translations/en.json +++ b/translations/en.json @@ -1025,6 +1025,7 @@ "privacy-photos": "Profile Photo Privacy", "privacy-and-security": "Privacy and security", "privacy-policy": "Privacy policy", + "privacy-show-to-warning": "People who have already seen your profile picture will continue to do so", "processing": "Just a moment", "product-information": "Product Information", "profile": "Profile",