Skip to content

fix: hide stories floating button - #119

Closed
Parsa307 wants to merge 1 commit into
testfrom
hide-stories-floating-button
Closed

fix: hide stories floating button#119
Parsa307 wants to merge 1 commit into
testfrom
hide-stories-floating-button

Conversation

@Parsa307

@Parsa307 Parsa307 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

if Disable Stories is enabled it won't hide the floating button, this PR would solve the issue.

@im030

im030 commented Jul 30, 2026

Copy link
Copy Markdown
Owner

It's guarded around L4982-L4988 already, closing.

if (!MomoConfig.disableStories.Bool()) {
floatingButtonStories = new FragmentFloatingButton(context, resourceProvider, true);
floatingButtonStories.setContentDescription(getString(R.string.StoryPrivacyButtonPost));
floatingButtonStories.setImageResource(R.drawable.outline_fab_story_24);
floatingButtonStories.setOnClickListener(v -> openStoriesRecorder());
contentView.addView(floatingButtonStories, FragmentFloatingButton.createSubButtonLayoutParams());
}

@im030 im030 closed this Jul 30, 2026
@Parsa307
Parsa307 deleted the hide-stories-floating-button branch July 30, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants