Skip to content

Commit b757b95

Browse files
committed
adjust scan dialog size for smaller devices
1 parent 1149c04 commit b757b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/main/java/io/snabble/sdk/ui/scanner/ProductConfirmationDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public void run() {
255255
}
256256

257257
float density = context.getResources().getDisplayMetrics().density;
258-
window.setLayout(Math.round(336 * density), ViewGroup.LayoutParams.WRAP_CONTENT);
258+
window.setLayout(Math.round(320 * density), ViewGroup.LayoutParams.WRAP_CONTENT);
259259
}
260260

261261
private void updatePrice() {

0 commit comments

Comments
 (0)