fix: hide copy to clipboard while QR is not ready

This commit is contained in:
adbenitez
2024-08-19 19:01:11 +02:00
parent 7dbc472d01
commit 30c752dfdd
2 changed files with 2 additions and 0 deletions
@@ -86,6 +86,7 @@ public class BackupProviderFragment extends Fragment implements DcEventCenter.Dc
try {
SVG svg = SVG.getFromString(QrShowFragment.fixSVG(dcBackupProvider.getQrSvg()));
qrImageView.setSVG(svg);
qrImageView.setVisibility(View.VISIBLE);
} catch (SVGParseException e) {
e.printStackTrace();
}
@@ -106,6 +106,7 @@
android:layout_height="0dp"
android:layout_weight="1"
android:layout_marginBottom="16dp"
android:visibility="gone"
android:contentDescription="@string/qrscan_title" />
<TextView