Skip to content

Commit

Permalink
Do not display add to story if stories are disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal authored and greyson-signal committed Jan 27, 2023
1 parent 14cd216 commit 7f228fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ sealed class ConversationSettingsViewModel(
isMuted = recipient.isMuted,
isMuteAvailable = true,
isSearchAvailable = true,
isAddToStoryAvailable = recipient.isPushV2Group && !recipient.isBlocked && isActive
isAddToStoryAvailable = recipient.isPushV2Group && !recipient.isBlocked && isActive && !SignalStore.storyValues().isFeatureDisabled
),
canModifyBlockedState = RecipientUtil.isBlockable(recipient),
specificSettingsState = state.requireGroupSettingsState().copy(
Expand Down

0 comments on commit 7f228fc

Please sign in to comment.