mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 20:09:37 +00:00
fix(@desktop/chat): ensure emoji selection works
This broke in https://github.com/status-im/status-desktop/pull/4135 due to incorrect initialization of `recentEmojis` property in `localAccountSensitiveSettings`. Closes #4102
This commit is contained in:
parent
a01fdd29dd
commit
bc7823fa0d
12
ui/main.qml
12
ui/main.qml
@ -89,6 +89,18 @@ StatusWindow {
|
||||
mainModule.openStoreToKeychainPopup.connect(function(){
|
||||
storeToKeychainConfirmationPopup.open()
|
||||
})
|
||||
if(localAccountSensitiveSettings.recentEmojis === "") {
|
||||
localAccountSensitiveSettings.recentEmojis = [];
|
||||
}
|
||||
if (localAccountSensitiveSettings.whitelistedUnfurlingSites === "") {
|
||||
localAccountSensitiveSettings.whitelistedUnfurlingSites = {};
|
||||
}
|
||||
if (localAccountSensitiveSettings.hiddenCommunityWelcomeBanners === "") {
|
||||
localAccountSensitiveSettings.hiddenCommunityWelcomeBanners = [];
|
||||
}
|
||||
if (localAccountSensitiveSettings.hiddenCommunityBackUpBanners === "") {
|
||||
localAccountSensitiveSettings.hiddenCommunityBackUpBanners = [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user