opt: enum

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-05 15:06:19 +08:00
parent 4e68c765c5
commit 2f4c739f0b
116 changed files with 577 additions and 554 deletions

View File

@@ -0,0 +1 @@
enum ContributeType { video, charging, season, series, bangumi }

View File

@@ -0,0 +1 @@
enum ProfileType { uname, sign, sex, birthday }

View File

@@ -0,0 +1,5 @@
enum MemberTabType { none, home, dynamic, contribute, favorite, bangumi }
extension MemberTabTypeExt on MemberTabType {
String get title => const ['默认', '主页', '动态', '投稿', '收藏', '番剧'][index];
}