Voice notes mini-player

This commit is contained in:
Alvaro 2023-02-24 16:18:57 -07:00 committed by GitHub
parent b5849f872a
commit 0e655ceeed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 1599 additions and 487 deletions

View file

@ -72,6 +72,7 @@ export type PropsType = {
string,
number
>;
onMediaPlaybackStart: () => void;
} & Pick<
StoriesSettingsModalPropsType,
| 'onHideMyStoriesFrom'
@ -138,6 +139,7 @@ export function SendStoryModal({
toggleGroupsForStorySend,
mostRecentActiveStoryTimestampByGroupOrDistributionList,
toggleSignalConnectionsModal,
onMediaPlaybackStart,
}: PropsType): JSX.Element {
const [page, setPage] = useState<PageType>(Page.SendStory);
@ -875,6 +877,7 @@ export function SendStoryModal({
label="label"
moduleClassName="SendStoryModal__story"
attachment={attachment}
onMediaPlaybackStart={onMediaPlaybackStart}
/>
</div>
<div className="SendStoryModal__top-bar">