mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 17:47:46 +08:00
show img menu
opt img placeholder opt player gesture opt pref tweaks Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -110,7 +110,10 @@ abstract class CommonRichTextPubPageState<T extends CommonRichTextPubPage>
|
||||
);
|
||||
controller.restoreChatPanel();
|
||||
},
|
||||
onLongPress: onClear,
|
||||
onLongPress: () {
|
||||
Feedback.forLongPress(context);
|
||||
onClear();
|
||||
},
|
||||
onSecondaryTap: PlatformUtils.isMobile ? null : onClear,
|
||||
child: ClipRRect(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(4)),
|
||||
|
||||
@@ -45,9 +45,10 @@ abstract class ReplyController<R> extends CommonListController<R, ReplyInfo> {
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
int replySortType = Pref.replySortType;
|
||||
sortType = ReplySortType.values[replySortType].obs;
|
||||
mode = (replySortType == 0 ? Mode.MAIN_LIST_TIME : Mode.MAIN_LIST_HOT).obs;
|
||||
final cacheSortType = Pref.replySortType;
|
||||
sortType = cacheSortType.obs;
|
||||
mode =
|
||||
(cacheSortType == .time ? Mode.MAIN_LIST_TIME : Mode.MAIN_LIST_HOT).obs;
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user