1
0
Fork 1

reorder some menu entries

This commit is contained in:
Christian Schneppe 2020-05-07 22:24:56 +02:00
parent 53f1841b8c
commit 213191a1b6
3 changed files with 8 additions and 8 deletions

View file

@ -1175,12 +1175,12 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
menuContactDetails.setVisible(false);
}
menuMediaBrowser.setVisible(true);
menuNeedHelp.setVisible(true);
menuNeedHelp.setVisible(false);
menuSearchUpdates.setVisible(false);
ConversationMenuConfigurator.configureAttachmentMenu(conversation, menu, activity.xmppConnectionService.getAttachmentChoicePreference(), hasAttachments);
ConversationMenuConfigurator.configureEncryptionMenu(conversation, menu, activity);
} else {
menuNeedHelp.setVisible(false);
menuNeedHelp.setVisible(true);
menuSearchUpdates.setVisible(true);
menuInviteContact.setVisible(false);
menuGroupDetails.setVisible(false);

View file

@ -20,6 +20,7 @@
app:showAsAction="never" />
<item
android:id="@+id/action_check_updates"
android:orderInCategory="850"
android:title="@string/action_check_update"
app:showAsAction="never" />
<item
@ -27,5 +28,9 @@
android:orderInCategory="100"
android:title="@string/invite_user"
app:showAsAction="never" />
<item
android:id="@+id/action_create_issue"
android:orderInCategory="900"
android:title="@string/create_issue"
app:showAsAction="never" />
</menu>

View file

@ -106,11 +106,6 @@
android:orderInCategory="60"
android:title="@string/action_end_conversation"
app:showAsAction="never" />
<item
android:id="@+id/action_create_issue"
android:orderInCategory="100"
android:title="@string/create_issue"
app:showAsAction="never" />
<item
android:id="@+id/action_group_details"
android:icon="@drawable/ic_group_white_24dp"