mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Fix multi-invite group create dialog.
This commit is contained in:
committed by
Alex Hart
parent
e1067e30de
commit
e18e4454e4
@@ -16,6 +16,7 @@ import org.thoughtcrime.securesms.glide.GiftBadgeModel
|
||||
import org.thoughtcrime.securesms.recipients.Recipient
|
||||
import org.thoughtcrime.securesms.util.ScreenDensity
|
||||
import org.thoughtcrime.securesms.util.ThemeUtil
|
||||
import org.thoughtcrime.securesms.util.visible
|
||||
|
||||
class BadgeImageView @JvmOverloads constructor(
|
||||
context: Context,
|
||||
@@ -99,6 +100,10 @@ class BadgeImageView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
fun isShowingBadge(): Boolean {
|
||||
return drawable != null
|
||||
}
|
||||
|
||||
private fun clearDrawable() {
|
||||
if (drawable != null) {
|
||||
setImageDrawable(null)
|
||||
|
||||
Reference in New Issue
Block a user