File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
fastlane/metadata/android/en-US/changelogs Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ android {
1515 applicationId " org.woheller69.whisper"
1616 minSdk 28
1717 targetSdk 34
18- versionCode 30
19- versionName " 3.0 "
18+ versionCode 31
19+ versionName " 3.1 "
2020
2121 }
2222
Original file line number Diff line number Diff line change 1919 android : icon =" @mipmap/ic_launcher"
2020 android : label =" @string/app_name"
2121 android : supportsRtl =" true"
22+ android : largeHeap =" true"
2223 android : theme =" @style/Theme.Whisper.NoActionBar" >
2324 <activity android : name =" com.whispertflite.MainActivity"
2425 android : configChanges =" orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
Original file line number Diff line number Diff line change @@ -299,8 +299,9 @@ public void onResultReceived(WhisperResult whisperResult) {
299299 boolean simpleChinese = sp .getBoolean ("simpleChinese" ,false );
300300 result = simpleChinese ? ZhConverterUtil .toSimple (result ) : ZhConverterUtil .toTraditional (result );
301301 }
302- if (result .trim ().length () > 0 ) getCurrentInputConnection ().commitText (result .trim () + " " ,1 );
303- if (modeAuto ) switchToPreviousInputMethod ();
302+ boolean commitSuccess = false ;
303+ if (result .trim ().length () > 0 ) commitSuccess = getCurrentInputConnection ().commitText (result .trim () + " " ,1 );
304+ if (modeAuto && commitSuccess ) switchToPreviousInputMethod ();
304305 }
305306 });
306307 }
Original file line number Diff line number Diff line change 1+ Allow higher memory allocation
2+ Bugfixes
3+ Translations
You can’t perform that action at this time.
0 commit comments