【光环助手V5.0.0】提问帖相关需求 (0615测试反馈 1) https://git.ghzs.com/pm/halo-app-issues/-/issues/1251
This commit is contained in:
@ -1002,6 +1002,10 @@ open class AnswerDetailFragment : NormalFragment() {
|
||||
return true
|
||||
}
|
||||
|
||||
open fun shouldShowDragHint(): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
@SuppressLint("SetTextI18n")
|
||||
private fun updateQuestionView(question: Questions) {
|
||||
val video = if (!question.videos.isNullOrEmpty()) question.videos[0] else null
|
||||
@ -1148,6 +1152,7 @@ open class AnswerDetailFragment : NormalFragment() {
|
||||
}
|
||||
|
||||
private fun showDragHintDialog() {
|
||||
if (!shouldShowDragHint()) return
|
||||
val hasShownDragHint = SPUtils.getBoolean(SHOWN_DRAG_HINT, false)
|
||||
if (hasShownDragHint) {
|
||||
return
|
||||
|
||||
@ -16,4 +16,6 @@ class SimpleAnswerDetailFragment : AnswerDetailFragment() {
|
||||
}
|
||||
|
||||
override fun shouldShowBottomController(): Boolean = false
|
||||
|
||||
override fun shouldShowDragHint(): Boolean = false
|
||||
}
|
||||
Reference in New Issue
Block a user