mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Descriptive error messages for video stories
This commit is contained in:
@@ -17,6 +17,7 @@ import { reduceStorySendStatus } from '../util/resolveStorySendStatus';
|
||||
|
||||
export type PropsType = {
|
||||
i18n: LocalizerType;
|
||||
maxAttachmentSizeInKb: number;
|
||||
me: ConversationType;
|
||||
myStories: Array<MyStoryType>;
|
||||
onAddStory: () => unknown;
|
||||
@@ -32,6 +33,7 @@ function getNewestMyStory(story: MyStoryType): StoryViewType {
|
||||
|
||||
export function MyStoryButton({
|
||||
i18n,
|
||||
maxAttachmentSizeInKb,
|
||||
me,
|
||||
myStories,
|
||||
onAddStory,
|
||||
@@ -60,6 +62,7 @@ export function MyStoryButton({
|
||||
return (
|
||||
<StoriesAddStoryButton
|
||||
i18n={i18n}
|
||||
maxAttachmentSizeInKb={maxAttachmentSizeInKb}
|
||||
moduleClassName="StoryListItem StoryListItem--active-opactiy"
|
||||
onAddStory={onAddStory}
|
||||
showToast={showToast}
|
||||
@@ -112,6 +115,7 @@ export function MyStoryButton({
|
||||
<div className="MyStories__avatar-container">
|
||||
<StoriesAddStoryButton
|
||||
i18n={i18n}
|
||||
maxAttachmentSizeInKb={maxAttachmentSizeInKb}
|
||||
moduleClassName="StoryListItem--active-opacity"
|
||||
onAddStory={onAddStory}
|
||||
showToast={showToast}
|
||||
|
||||
Reference in New Issue
Block a user