Skip to content
Snippets Groups Projects
Commit 546f8322 authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Fix Termux codefield bug

parent 545facf7
No related branches found
No related tags found
No related merge requests found
......@@ -326,7 +326,7 @@ public final class InputAttributes {
boolean noAutocorrect = (editorInfo.inputType & InputType.TYPE_TEXT_FLAG_AUTO_CORRECT) == 0;
if(editorInfo.packageName.startsWith("com.replit")) return noAutocorrect;
if(editorInfo.packageName.startsWith("com.termux")) return noAutocorrect;
if(editorInfo.packageName.startsWith("com.termux")) return editorInfo.inputType == 0;
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment