From bedff7eaa91f03de6f4dcaf26e6c6c98fb6136f5 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Mon, 6 Nov 2023 15:53:07 +0100 Subject: [PATCH] =?UTF-8?q?Fixing=20#26,=20I=20hope=E2=80=A6=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../privacyfriendlyrulerapp/activities/CalibrationActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/secuso/privacyfriendlyrulerapp/activities/CalibrationActivity.java b/app/src/main/java/org/secuso/privacyfriendlyrulerapp/activities/CalibrationActivity.java index e49b4a0..b8b3d73 100644 --- a/app/src/main/java/org/secuso/privacyfriendlyrulerapp/activities/CalibrationActivity.java +++ b/app/src/main/java/org/secuso/privacyfriendlyrulerapp/activities/CalibrationActivity.java @@ -50,7 +50,7 @@ public void onClick(View view) { if (inchMode) { length = (float) (length * 25.4); } - length = Math.min(40, Math.max(3, length)); + length = Math.min(200, Math.max(3, length)); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext()); float dpmm = 300 / length; prefs.edit().putFloat("dpmm", dpmm).commit();