mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
share instead of copy
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user