mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
fix crash
This commit is contained in:
parent
91a1a8d943
commit
0566674572
3 changed files with 1 additions and 17 deletions
|
|
@ -146,7 +146,7 @@ android {
|
|||
buildConfigField "String", "TESTING_LEVEL", "\"production\""
|
||||
resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW"
|
||||
|
||||
versionCode 2971
|
||||
versionCode 2973
|
||||
versionName "3.3"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,16 +16,4 @@ open class ChallengeMembership : RealmObject, BaseObject {
|
|||
}
|
||||
|
||||
constructor() : super()
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
return if (other is ChallengeMembership) {
|
||||
this.userID == other.userID && challengeID == other.challengeID
|
||||
} else super.equals(other)
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
var result = userID.hashCode()
|
||||
result = 31 * result + challengeID.hashCode()
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
|
@ -114,8 +114,4 @@ object ToolbarColorHelper {
|
|||
overflowViewParent.overflowIcon?.setTintMode(PorterDuff.Mode.SRC_ATOP)
|
||||
}
|
||||
}
|
||||
|
||||
private fun removeOnGlobalLayoutListener(v: View, listener: OnGlobalLayoutListener) {
|
||||
v.viewTreeObserver.removeOnGlobalLayoutListener(listener)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue