This commit is contained in:
2025-07-26 03:59:50 +03:00
parent 61eb39456d
commit de3140697e
3 changed files with 6 additions and 2 deletions

View File

@@ -869,7 +869,7 @@ export async function getWallets() {
let res;
if (window?.walletStorage) {
res = await window.walletStorage.get('wallets');
if (!res) {
if (!res || res?.length === 0) {
const prevWallets = await getData<any>('wallets').catch(() => null);
if (prevWallets) {
await window.walletStorage.set('wallets', prevWallets);

View File

@@ -354,6 +354,10 @@ export const NewThread = ({
const idMsg = uid.rnd();
const identifier = `thmsg-${idThread}-${idMsg}`;
const res = await publishGroupEncryptedResource({
identifier: identifier,
encryptedData: encryptSinglePost,
});
const dataToSaveToStoragePost = {
threadId: idThread,
name: myName,

View File

@@ -411,7 +411,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
onClick={saveToQdn}
variant="contained"
>
{t('core:action.save_qdn', {
{t('core:message.generic.save_qdn', {
postProcess: 'capitalizeFirstChar',
})}
</LoadingButton>