mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
Fix BubbleBanner dismiss click listener.
This commit is contained in:
@@ -64,6 +64,10 @@ class ConversationBannerView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
fun clearBanner() {
|
||||
hide(bannerStub)
|
||||
}
|
||||
|
||||
fun showUnverifiedBanner(identityRecords: IdentityRecordList) {
|
||||
show(
|
||||
stub = unverifiedBannerStub
|
||||
|
||||
@@ -3853,6 +3853,8 @@ class ConversationFragment :
|
||||
.putExtra(Settings.EXTRA_APP_PACKAGE, requireContext().packageName)
|
||||
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
startActivity(intent)
|
||||
} else {
|
||||
binding.conversationBanner.clearBanner()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user