mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
feat(app): show instance branding in switchers and pickers (#3289)
This commit is contained in:
1 parent
6dc698ff5e
commit
d6e3254a16
63 files changed
+929
-587
No files matched your search
@@ -5,8 +5,8 @@ import {showDmActionErrorModal} from '@app/features/app/components/alerts/DmActi
|
||||
import {FeatureTemporarilyDisabledModal} from '@app/features/app/components/alerts/FeatureTemporarilyDisabledModal';
|
||||
import {showGenericErrorModal} from '@app/features/app/components/alerts/GenericErrorModalCommands';
|
||||
import {ConfirmModal} from '@app/features/app/components/dialogs/ConfirmModal';
|
||||
import {PRODUCT_NAME} from '@app/features/app/config/I18nDisplayConstants';
|
||||
import {Endpoints} from '@app/features/app/constants/Endpoints';
|
||||
import {getActiveInstanceProductName} from '@app/features/app/state/ActiveInstanceProductName';
|
||||
import Authentication from '@app/features/auth/state/Authentication';
|
||||
import Channels from '@app/features/channel/state/Channels';
|
||||
import DeveloperOptions from '@app/features/devtools/state/DeveloperOptions';
|
||||
@@ -834,7 +834,7 @@ export function showDeleteConfirmation(
|
||||
<Switch
|
||||
value={false}
|
||||
onChange={() => {}}
|
||||
label={i18n._(ALSO_REPORT_TO_SAFETY_TEAM_DESCRIPTOR, {productName: PRODUCT_NAME})}
|
||||
label={i18n._(ALSO_REPORT_TO_SAFETY_TEAM_DESCRIPTOR, {productName: getActiveInstanceProductName()})}
|
||||
compact
|
||||
data-flx="messaging.message-commands.show-delete-confirmation.switch"
|
||||
/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import * as Modal from '@app/features/app/components/dialogs/Modal';
|
||||
import {PRODUCT_NAME} from '@app/features/app/config/I18nDisplayConstants';
|
||||
import {getActiveInstanceProductName} from '@app/features/app/state/ActiveInstanceProductName';
|
||||
import styles from '@app/features/messaging/components/modals/ExternalLinkWarningModal.module.css';
|
||||
import {remFromPx} from '@app/features/theme/layout/RemFromPx';
|
||||
import * as TrustedDomainCommands from '@app/features/trusted_domain/commands/TrustedDomainCommands';
|
||||
@@ -69,7 +69,7 @@ export const ExternalLinkWarningModal = observer(({url}: {url: string}) => {
|
||||
</div>
|
||||
<div className={styles.textContainer} data-flx="messaging.external-link-warning-modal.text-container">
|
||||
<p className={styles.title} data-flx="messaging.external-link-warning-modal.title">
|
||||
{i18n._(LEAVING_PRODUCT_DESCRIPTOR, {productName: PRODUCT_NAME})}
|
||||
{i18n._(LEAVING_PRODUCT_DESCRIPTOR, {productName: getActiveInstanceProductName()})}
|
||||
</p>
|
||||
<p className={styles.description} data-flx="messaging.external-link-warning-modal.description">
|
||||
<Trans>External links can be dangerous. Be careful.</Trans>
|
||||
|
||||
Reference in new issue
Block a user