add option to copy link of own toot to "more" menu

closes #928
main
Conny Duck 6 years ago
parent 1fdfbf631d
commit 000010f3ef
  1. 22
      app/src/main/res/menu/status_more.xml
  2. 20
      app/src/main/res/menu/status_more_for_user.xml

@ -9,15 +9,19 @@
android:title="@string/status_share_link" /> android:title="@string/status_share_link" />
<item <item
android:id="@+id/status_share_content" android:id="@+id/status_share_content"
android:title="@string/status_share_content"/> android:title="@string/status_share_content" />
</menu> </menu>
</item> </item>
<item android:title="@string/action_copy_link" <item
android:id="@+id/status_copy_link" /> android:id="@+id/status_copy_link"
<item android:title="@string/action_mute" android:title="@string/action_copy_link" />
android:id="@+id/status_mute" /> <item
<item android:title="@string/action_block" android:id="@+id/status_mute"
android:id="@+id/status_block" /> android:title="@string/action_mute" />
<item android:title="@string/action_report" <item
android:id="@+id/status_report" /> android:id="@+id/status_block"
android:title="@string/action_block" />
<item
android:id="@+id/status_report"
android:title="@string/action_report" />
</menu> </menu>

@ -9,11 +9,21 @@
android:title="@string/status_share_link" /> android:title="@string/status_share_link" />
<item <item
android:id="@+id/status_share_content" android:id="@+id/status_share_content"
android:title="@string/status_share_content"/> android:title="@string/status_share_content" />
</menu> </menu>
</item> </item>
<item android:visible="false" android:id="@+id/status_reblog_private" android:title="@string/reblog_private"/> <item
<item android:visible="false" android:id="@+id/status_unreblog_private" android:title="@string/unreblog_private"/> android:id="@+id/status_copy_link"
<item android:title="@string/action_delete" android:title="@string/action_copy_link" />
android:id="@+id/status_delete" /> <item
android:id="@+id/status_reblog_private"
android:title="@string/reblog_private"
android:visible="false" />
<item
android:id="@+id/status_unreblog_private"
android:title="@string/unreblog_private"
android:visible="false" />
<item
android:id="@+id/status_delete"
android:title="@string/action_delete" />
</menu> </menu>
Loading…
Cancel
Save