Добавлена «Отправить через» в Android

This commit is contained in:
AidarKC
2026-11-28 02:02:28 +03:00
parent 34e5fa1403
commit ebd5d37039
20 changed files with 426 additions and 31 deletions
-2
View File
@@ -58,7 +58,6 @@ export function render({ navigate, chrome }) {
card,
login,
tilesHtml: [
profileTileHtml({ icon: 'channels', label: t('remaining.channels.my_publications'), attrs: 'data-self-profile-action="publications"' }),
profileTileHtml({ icon: 'edit', label: t('screens.profile_view.text_007'), attrs: 'data-self-profile-action="edit"' }),
profileTileHtml({ icon: 'wallet', label: t('screens.profile_view.text_008'), attrs: 'data-self-profile-action="wallet"' }),
profileTileHtml({ icon: 'settings', label: t('screens.profile_view.text_009'), attrs: 'data-self-profile-action="settings"' }),
@@ -84,7 +83,6 @@ export function render({ navigate, chrome }) {
const actionButton = event.target.closest('[data-self-profile-action]');
if (actionButton) {
const action = actionButton.dataset.selfProfileAction;
if (action === 'publications') navigate(`SHiNE/${encodeURIComponent(card.login)}/stories`);
if (action === 'edit') navigate('profile-edit-view');
if (action === 'wallet') navigate('wallet-view');
if (action === 'settings') navigate('settings-view');