Integrate in remaining spots
This commit is contained in:
@@ -20,7 +20,6 @@ import {Button, ButtonIcon} from '#/components/Button'
|
|||||||
import {BlockedByListDialog} from '#/components/dms/BlockedByListDialog'
|
import {BlockedByListDialog} from '#/components/dms/BlockedByListDialog'
|
||||||
import {LeaveConvoPrompt} from '#/components/dms/LeaveConvoPrompt'
|
import {LeaveConvoPrompt} from '#/components/dms/LeaveConvoPrompt'
|
||||||
import {ReportConversationPrompt} from '#/components/dms/ReportConversationPrompt'
|
import {ReportConversationPrompt} from '#/components/dms/ReportConversationPrompt'
|
||||||
import {ReportDialog} from '#/components/dms/ReportDialog'
|
|
||||||
import {ArrowBoxLeft_Stroke2_Corner0_Rounded as ArrowBoxLeft} from '#/components/icons/ArrowBoxLeft'
|
import {ArrowBoxLeft_Stroke2_Corner0_Rounded as ArrowBoxLeft} from '#/components/icons/ArrowBoxLeft'
|
||||||
import {Bubble_Stroke2_Corner2_Rounded as Bubble} from '#/components/icons/Bubble'
|
import {Bubble_Stroke2_Corner2_Rounded as Bubble} from '#/components/icons/Bubble'
|
||||||
import {DotGrid_Stroke2_Corner0_Rounded as DotsHorizontal} from '#/components/icons/DotGrid'
|
import {DotGrid_Stroke2_Corner0_Rounded as DotsHorizontal} from '#/components/icons/DotGrid'
|
||||||
@@ -33,6 +32,7 @@ import {
|
|||||||
} from '#/components/icons/Person'
|
} from '#/components/icons/Person'
|
||||||
import {SpeakerVolumeFull_Stroke2_Corner0_Rounded as Unmute} from '#/components/icons/Speaker'
|
import {SpeakerVolumeFull_Stroke2_Corner0_Rounded as Unmute} from '#/components/icons/Speaker'
|
||||||
import * as Menu from '#/components/Menu'
|
import * as Menu from '#/components/Menu'
|
||||||
|
import {ReportDialog} from '#/components/moderation/ReportDialog'
|
||||||
import * as Prompt from '#/components/Prompt'
|
import * as Prompt from '#/components/Prompt'
|
||||||
import type * as bsky from '#/types/bsky'
|
import type * as bsky from '#/types/bsky'
|
||||||
|
|
||||||
@@ -114,9 +114,8 @@ let ConvoMenu = ({
|
|||||||
/>
|
/>
|
||||||
{latestReportableMessage ? (
|
{latestReportableMessage ? (
|
||||||
<ReportDialog
|
<ReportDialog
|
||||||
currentScreen={currentScreen}
|
subject={{
|
||||||
params={{
|
view: 'convo',
|
||||||
type: 'convoMessage',
|
|
||||||
convoId: convo.id,
|
convoId: convo.id,
|
||||||
message: latestReportableMessage,
|
message: latestReportableMessage,
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -25,12 +25,12 @@ import {
|
|||||||
EmailDialogScreenID,
|
EmailDialogScreenID,
|
||||||
useEmailDialogControl,
|
useEmailDialogControl,
|
||||||
} from '#/components/dialogs/EmailDialog'
|
} from '#/components/dialogs/EmailDialog'
|
||||||
import {ReportDialog} from '#/components/dms/ReportDialog'
|
|
||||||
import {CircleX_Stroke2_Corner0_Rounded} from '#/components/icons/CircleX'
|
import {CircleX_Stroke2_Corner0_Rounded} from '#/components/icons/CircleX'
|
||||||
import {Flag_Stroke2_Corner0_Rounded as FlagIcon} from '#/components/icons/Flag'
|
import {Flag_Stroke2_Corner0_Rounded as FlagIcon} from '#/components/icons/Flag'
|
||||||
import {PersonX_Stroke2_Corner0_Rounded as PersonXIcon} from '#/components/icons/Person'
|
import {PersonX_Stroke2_Corner0_Rounded as PersonXIcon} from '#/components/icons/Person'
|
||||||
import {Loader} from '#/components/Loader'
|
import {Loader} from '#/components/Loader'
|
||||||
import * as Menu from '#/components/Menu'
|
import * as Menu from '#/components/Menu'
|
||||||
|
import {ReportDialog} from '#/components/moderation/ReportDialog'
|
||||||
|
|
||||||
export function RejectMenu({
|
export function RejectMenu({
|
||||||
convo,
|
convo,
|
||||||
@@ -163,9 +163,8 @@ export function RejectMenu({
|
|||||||
</Menu.Root>
|
</Menu.Root>
|
||||||
{lastMessage && (
|
{lastMessage && (
|
||||||
<ReportDialog
|
<ReportDialog
|
||||||
currentScreen={currentScreen}
|
subject={{
|
||||||
params={{
|
view: 'convo',
|
||||||
type: 'convoMessage',
|
|
||||||
convoId: convo.id,
|
convoId: convo.id,
|
||||||
message: lastMessage,
|
message: lastMessage,
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user