Skip to content

Commit 6ba9b09

Browse files
committed
Fix bug in cert install text version check
It should actually be "31 or 32", but this is simpler.
1 parent 719caff commit 6ba9b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/tech/httptoolkit/android/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ class MainActivity : AppCompatActivity(), CoroutineScope by MainScope() {
706706
"""
707707
<li>&nbsp; Open "<b>${
708708
// Slightly different UI for Android 12 and 13:
709-
if (Build.VERSION.SDK_INT == 31) "Advanced Settings" else "More security settings"
709+
if (Build.VERSION.SDK_INT < 33) "Advanced Settings" else "More security settings"
710710
}</b>" in your security settings</li>
711711
<li>&nbsp; Open "<b>Encryption & Credentials</b>"</li>
712712
"""

0 commit comments

Comments
 (0)