QrActivity: properly implement edge-to-edge

This commit is contained in:
adbenitez
2025-11-26 21:24:58 +01:00
parent 9e5a2d30ed
commit 2a2cb7c26e
2 changed files with 5 additions and 4 deletions
@@ -18,6 +18,7 @@ import com.journeyapps.barcodescanner.CompoundBarcodeView;
import com.journeyapps.barcodescanner.DecoratedBarcodeView;
import org.thoughtcrime.securesms.R;
import org.thoughtcrime.securesms.util.ViewUtil;
public class QrScanFragment extends Fragment {
@@ -38,6 +39,9 @@ public class QrScanFragment extends Fragment {
barcodeScannerView = view.findViewById(R.id.zxing_barcode_scanner);
barcodeScannerView.setStatusText(getString(R.string.qrscan_hint) + "\n ");
// add padding to avoid content hidden behind system bars
ViewUtil.applyWindowInsets(barcodeScannerView.getStatusView());
return view;
}