mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-09 12:34:55 +08:00
Compare commits
2 Commits
c2ceb9ec73
...
3b68fe467d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b68fe467d | ||
|
|
f14aacd664 |
@@ -10,6 +10,9 @@ class RcmdController extends CommonListController {
|
||||
int? lastRefreshAt;
|
||||
late bool savedRcmdTip = Pref.savedRcmdTip;
|
||||
|
||||
@override
|
||||
bool get isEnd => false;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
@@ -24,6 +27,11 @@ class RcmdController extends CommonListController {
|
||||
: VideoHttp.rcmdVideoList(freshIdx: page, ps: 20);
|
||||
}
|
||||
|
||||
@override
|
||||
bool handleError(String? errMsg) {
|
||||
return enableSaveLastData;
|
||||
}
|
||||
|
||||
@override
|
||||
void handleListResponse(List dataList) {
|
||||
if (enableSaveLastData && page == 0) {
|
||||
|
||||
@@ -177,7 +177,7 @@ class ChatItem extends StatelessWidget {
|
||||
return msgTypeTipMessage_18(theme, content);
|
||||
case MsgType.EN_MSG_TYPE_TEXT:
|
||||
return msgTypeText_1(theme, content: content, textColor: textColor);
|
||||
case MsgType.EN_MSG_TYPE_PIC:
|
||||
case MsgType.EN_MSG_TYPE_PIC || MsgType.EN_MSG_TYPE_CUSTOM_FACE:
|
||||
return msgTypePic_2(content);
|
||||
case MsgType.EN_MSG_TYPE_SHARE_V2:
|
||||
return msgTypeShareV2_7(content, textColor);
|
||||
|
||||
Reference in New Issue
Block a user