mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Use link dialog on long press only when not confirming links
This commit is contained in:
@@ -626,7 +626,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
@Override
|
||||
public void onLongPress(@NonNull MotionEvent event) {
|
||||
onClick(event, true);
|
||||
boolean confirm_links = prefs.getBoolean("confirm_links", true);
|
||||
if (!confirm_links)
|
||||
onClick(event, true);
|
||||
}
|
||||
|
||||
private boolean onClick(MotionEvent event, boolean longClick) {
|
||||
|
||||
Reference in New Issue
Block a user