From f6682de84561643ab95e60725bfee65c93030a67 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 12 Dec 2023 17:57:14 +0100 Subject: [PATCH] Simplification --- app/src/main/java/eu/faircode/email/NoStreamException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/NoStreamException.java b/app/src/main/java/eu/faircode/email/NoStreamException.java index 778298b6da..a87e8f692c 100644 --- a/app/src/main/java/eu/faircode/email/NoStreamException.java +++ b/app/src/main/java/eu/faircode/email/NoStreamException.java @@ -64,7 +64,7 @@ public class NoStreamException extends SecurityException { TextView tvUri = dview.findViewById(R.id.tvUri); ImageButton ibInfo = dview.findViewById(R.id.ibInfo); - tvUri.setText(uri == null ? null : uri.getScheme()); + tvUri.setText(uri == null ? null : uri.getLastPathSegment()); ibInfo.setOnClickListener(new View.OnClickListener() { @Override