feat(desktop): bundled renderer, modules and instance accounts (#3254)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-07 16:48:07 +02:00
1 parent c748c8af4e
commit 7c5fa2180a
1275 files changed
+215074 -81246

No files matched your search

@@ -2,6 +2,7 @@
import i18n from '@app/app/I18n';
import {showDmActionErrorModal} from '@app/features/app/components/alerts/DmActionErrorModal';
import {UserSettingsModal} from '@app/features/app/components/dialogs/LoadableSettingsModals';
import {StatusSlate} from '@app/features/app/components/dialogs/shared/StatusSlate';
import {openClaimAccountModal} from '@app/features/auth/components/modals/ClaimAccountModal';
import * as PrivateChannelCommands from '@app/features/channel/commands/PrivateChannelCommands';
@@ -16,7 +17,6 @@ import {HttpError} from '@app/features/platform/types/EndpointError';
import {Logger} from '@app/features/platform/utils/AppLogger';
import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
import {modal} from '@app/features/ui/commands/ModalCommands';
import {UserSettingsModal} from '@app/features/user/components/modals/UserSettingsModal';
import type {User} from '@app/features/user/models/User';
import Users from '@app/features/user/state/Users';
import {blockIfAccountLimited} from '@app/features/user/utils/AccountLimitUtils';
@@ -165,12 +165,15 @@ export const CreateDMRestrictionSlate: React.FC<
return;
}
ModalCommands.push(
modal(() => (
<UserSettingsModal
initialTab="account_security"
data-flx="channel.create-dm-modal-utils.restriction-slate.user-settings-modal"
/>
)),
modal(
() => (
<UserSettingsModal
initialTab="account_security"
data-flx="channel.create-dm-modal-utils.restriction-slate.user-settings-modal"
/>
),
'user-settings',
),
);
},
variant: 'primary',