Descriptive error messages for video stories
This commit is contained in:
parent
c038c07b06
commit
4549291b7b
16 changed files with 289 additions and 179 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue