mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
opt: unread & zan grpc & readlist open with browser (#852)
* opt: unread * opt: zan grpc * feat: readlist open with browser
This commit is contained in:
committed by
GitHub
parent
8d34e6f340
commit
72734d4b4e
@@ -20,8 +20,7 @@ import 'package:get/get.dart';
|
||||
|
||||
class ChatItem extends StatelessWidget {
|
||||
static MsgType msgTypeFromValue(int value) {
|
||||
return MsgType.values.firstWhere((e) => e.value == value,
|
||||
orElse: () => MsgType.EN_INVALID_MSG_TYPE);
|
||||
return MsgType.valueOf(value) ?? MsgType.EN_INVALID_MSG_TYPE;
|
||||
}
|
||||
|
||||
const ChatItem({
|
||||
|
||||
Reference in New Issue
Block a user