mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 21:57:11 +00:00
fix task scoring crash
This commit is contained in:
parent
05231ca96b
commit
d72b329868
2 changed files with 5 additions and 2 deletions
|
|
@ -2,8 +2,8 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.habitrpg.android.habitica"
|
||||
android:versionCode="58"
|
||||
android:versionName="0.0.28"
|
||||
android:versionCode="59"
|
||||
android:versionName="0.0.28.1"
|
||||
android:screenOrientation="portrait"
|
||||
android:installLocation="auto" >
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,9 @@ public abstract class Item extends BaseModel {
|
|||
}
|
||||
|
||||
public Integer getOwned() {
|
||||
if (owned == null) {
|
||||
return 0;
|
||||
}
|
||||
return owned;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue