From 8c7a6add2287e36ea19ac096e1c430a02f28c7d7 Mon Sep 17 00:00:00 2001 From: Hamid Safdari Date: Sat, 28 Sep 2024 07:36:07 +0500 Subject: [PATCH] fix(#380): Address repeated when reopening QR tab --- primitiveFTPd/src/org/primftpd/ui/QrFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/primitiveFTPd/src/org/primftpd/ui/QrFragment.java b/primitiveFTPd/src/org/primftpd/ui/QrFragment.java index 6492c62b..cd1a82b6 100644 --- a/primitiveFTPd/src/org/primftpd/ui/QrFragment.java +++ b/primitiveFTPd/src/org/primftpd/ui/QrFragment.java @@ -128,6 +128,7 @@ public void onResume() { fragment.qrImage.setImageBitmap(qr); }); } + urlsParent.removeAllViewsInLayout(); urlsParent.addView(radioGroup); if (!urls.isEmpty()) { View firstRadio = radioGroup.getChildAt(0);