Group stories show group avatar in story list viewer

This commit is contained in:
Josh Perez 2022-07-28 20:16:30 -04:00 committed by GitHub
parent e7b3de8b28
commit 0350692034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 74 additions and 25 deletions

View file

@ -14,6 +14,7 @@ import type {
StoryViewType,
} from '../types/Stories';
import type { LocalizerType } from '../types/Util';
import type { PreferredBadgeSelectorType } from '../state/selectors/badges';
import type { PropsType as SmartStoryCreatorPropsType } from '../state/smart/StoryCreator';
import type { ViewStoryActionCreatorType } from '../state/ducks/stories';
import { MyStories } from './MyStories';
@ -23,6 +24,7 @@ import { getWidthFromPreferredWidth } from '../util/leftPaneWidth';
export type PropsType = {
deleteStoryForEveryone: (story: StoryViewType) => unknown;
getPreferredBadge: PreferredBadgeSelectorType;
hiddenStories: Array<ConversationStoryType>;
i18n: LocalizerType;
me: ConversationType;
@ -43,6 +45,7 @@ export type PropsType = {
export const Stories = ({
deleteStoryForEveryone,
getPreferredBadge,
hiddenStories,
i18n,
me,
@ -88,6 +91,7 @@ export const Stories = ({
/>
) : (
<StoriesPane
getPreferredBadge={getPreferredBadge}
hiddenStories={hiddenStories}
i18n={i18n}
me={me}