Skip to content

Commit

Permalink
Merge pull request #3249 from deltachat/adb/issue-3245
Browse files Browse the repository at this point in the history
fix: hide copy to clipboard while QR is not ready
  • Loading branch information
adbenitez authored Aug 19, 2024
2 parents 595e364 + d4be5f2 commit 6ecb518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
try {
SVG svg = SVG.getFromString(QrShowFragment.fixSVG(dcBackupProvider.getQrSvg()));
qrImageView.setSVG(svg);
qrImageView.setVisibility(View.VISIBLE);
} catch (SVGParseException e) {
e.printStackTrace();
}
Expand Down
1 change: 1 addition & 0 deletions src/main/res/layout/backup_provider_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ecb518

Please sign in to comment.