opt: unread & zan grpc & readlist open with browser (#852)

* opt: unread

* opt: zan grpc

* feat: readlist open with browser
This commit is contained in:
My-Responsitories
2025-05-11 18:58:00 +08:00
committed by GitHub
parent 8d34e6f340
commit 72734d4b4e
13 changed files with 127 additions and 208 deletions

View File

@@ -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);
}