share instead of copy

This commit is contained in:
adbenitez
2024-07-30 14:35:04 +02:00
parent 54d4414aaa
commit bcce0184fd
3 changed files with 5 additions and 5 deletions
@@ -86,7 +86,7 @@ public class QrShowFragment extends Fragment implements DcEventCenter.DcEventDel
e.printStackTrace();
}
view.findViewById(R.id.copy_link_button).setOnClickListener((v) -> copyQrData());
view.findViewById(R.id.share_link_button).setOnClickListener((v) -> shareInviteURL());
return view;
}
+3 -3
View File
@@ -21,19 +21,19 @@
android:layout_height="0dp"
android:layout_gravity="center"
android:contentDescription="@string/qrscan_title"
app:layout_constraintBottom_toTopOf="@id/copy_link_button"
app:layout_constraintBottom_toTopOf="@id/share_link_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/copy_link_button"
android:id="@+id/share_link_button"
style="@style/ButtonPrimary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:paddingLeft="24dp"
android:paddingRight="24dp"
android:text="@string/copy_invite_link"
android:text="@string/share_invite_link"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
+1 -1
View File
@@ -231,7 +231,7 @@
<string name="menu_delete_location">Delete this Location?</string>
<string name="menu_message_details">Message Info</string>
<string name="menu_copy_to_clipboard">Copy to Clipboard</string>
<string name="copy_invite_link">Copy Invite Link</string>
<string name="share_invite_link">Share Invite Link</string>
<string name="menu_copy_selection_to_clipboard">Copy Selection</string>
<string name="menu_copy_link_to_clipboard">Copy Link</string>
<string name="menu_copy_text_to_clipboard">Copy Text</string>