fix crash

This commit is contained in:
Phillip Thelen 2021-06-11 15:29:00 +02:00
parent 91a1a8d943
commit 0566674572
3 changed files with 1 additions and 17 deletions

View file

@ -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"
}

View file

@ -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
}
}

View file

@ -114,8 +114,4 @@ object ToolbarColorHelper {
overflowViewParent.overflowIcon?.setTintMode(PorterDuff.Mode.SRC_ATOP)
}
}
private fun removeOnGlobalLayoutListener(v: View, listener: OnGlobalLayoutListener) {
v.viewTreeObserver.removeOnGlobalLayoutListener(listener)
}
}