mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 11:26:01 +03:00
Rename displayThreadsBetaNotice method
This commit is contained in:
parent
9e48b02b73
commit
2bb6e77be0
1 changed files with 2 additions and 6 deletions
|
@ -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 a new issue