mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 12:18:59 +00:00
fix potential crash
This commit is contained in:
parent
88a10586ec
commit
8c3e1b18bf
2 changed files with 4 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.habitrpg.android.habitica"
|
||||
android:versionCode="1971"
|
||||
android:versionCode="1972"
|
||||
android:versionName="1.4.2"
|
||||
android:screenOrientation="portrait"
|
||||
android:installLocation="auto" >
|
||||
|
|
|
|||
|
|
@ -588,7 +588,9 @@ public class MainActivity extends BaseActivity implements TutorialView.OnTutoria
|
|||
userRepository.close();
|
||||
tagRepository.close();
|
||||
inventoryRepository.close();
|
||||
keyboardUtil.disable();
|
||||
if (keyboardUtil != null) {
|
||||
keyboardUtil.disable();
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue