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

closes #928
This commit is contained in:
Conny Duck 2018-12-03 12:04:27 +01:00
parent 1413a1155b
commit afaaafdace
2 changed files with 28 additions and 14 deletions

View file

@ -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>

View file

@ -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>