Attachement menu bug #55

Closed
opened 2025-06-11 17:12:58 +02:00 by lookshe · 3 comments
Owner
https://codeberg.org/monocles/monocles_chat/issues/259 After fixing make PR?
Author
Owner

Menü wird wohl hier "kopiert" zusammengebaut:

Menu tmpMenu = new PopupMenu(activity, null).getMenu();
activity.getMenuInflater().inflate(R.menu.fragment_conversation, tmpMenu);
MenuItem attachMenu = tmpMenu.findItem(R.id.action_attach_file);
for (int i = 0; i < attachMenu.getSubMenu().size(); i++) {
MenuItem item = attachMenu.getSubMenu().getItem(i);
MenuItem newItem = menu.add(item.getGroupId(), item.getItemId(), item.getOrder(), item.getTitle());
newItem.setIcon(item.getIcon());
}

Menü wird wohl hier "kopiert" zusammengebaut: https://git.fucktheforce.de/thedevstack/PiratX/src/commit/4d257e209a39e4bc494127f3ccca51994d63e452/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java#L2398-L2405
Owner

@lookshe Passt das Menu so?

@lookshe Passt das Menu so?
Author
Owner

Ja passt so, braucht nicht weiter angepasst werden.

Ja passt so, braucht nicht weiter angepasst werden.
Sign in to join this conversation.
No labels
update fork
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thedevstack/PiratX#55
No description provided.