mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +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
@@ -1,5 +1,10 @@
|
||||
enum MsgUnReadType { pm, reply, at, like, sysMsg }
|
||||
enum MsgUnReadType {
|
||||
pm('私信'),
|
||||
reply('回复我的'),
|
||||
at('@我'),
|
||||
like('收到的赞'),
|
||||
sysMsg('系统通知');
|
||||
|
||||
extension MsgUnReadTypeExt on MsgUnReadType {
|
||||
String get title => const ['私信', '回复我的', '@我', '收到的赞', '系统通知'][index];
|
||||
final String title;
|
||||
const MsgUnReadType(this.title);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user