mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-04 05:56:43 +01:00
Rename displayThreadsBetaNotice method
This commit is contained in:
parent
9e48b02b73
commit
2bb6e77be0
@ -2362,7 +2362,7 @@ class TimelineFragment @Inject constructor(
|
||||
if (vectorPreferences.areThreadMessagesEnabled()) {
|
||||
navigateToThreadTimeline(action.eventId, action.startsThread)
|
||||
} else {
|
||||
displayThreadsBetaNotice()
|
||||
displayThreadsBetaOptInDialog()
|
||||
}
|
||||
}
|
||||
|
||||
@ -2385,11 +2385,7 @@ class TimelineFragment @Inject constructor(
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Display a dialog that will let the user to enable threads
|
||||
*/
|
||||
|
||||
private fun displayThreadsBetaNotice() =
|
||||
private fun displayThreadsBetaOptInDialog() =
|
||||
activity?.let {
|
||||
MaterialAlertDialogBuilder(it)
|
||||
.setTitle(R.string.threads_beta_enable_notice_title)
|
||||
|
Loading…
Reference in New Issue
Block a user