Skip to content

[TECHNICAL] Clean-up GraphShareFragment #5053

Open

Description

@joragua

Description

In GraphShareFragment override and private functions are currently interleaved.

  1. Reorder the class so all override functions come first, followed by all private fun functions.
  2. onRemoveShare and onRemovePublicLink build an identical confirmation AlertDialog, differing only in title, message, and action. The same duplicated dialog also exists in SpaceMembersFragment (onRemoveMember and onRemovePublicLink). Extract a shared helper reused by both fragments.

No behavior change — pure refactor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions