Fix BubbleBanner dismiss click listener.

This commit is contained in:
Sagar
2025-03-26 02:14:52 +05:30
committed by Cody Henthorne
parent e3044b3c97
commit dc66da0667
2 changed files with 6 additions and 0 deletions

View File

@@ -64,6 +64,10 @@ class ConversationBannerView @JvmOverloads constructor(
}
}
fun clearBanner() {
hide(bannerStub)
}
fun showUnverifiedBanner(identityRecords: IdentityRecordList) {
show(
stub = unverifiedBannerStub

View File

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