fix(flutter): 去除关注 tab 并加深色首页导航

This commit is contained in:
Zhou Weidong committed 2026-10-20 13:48:42 +08:00
1 parent ee6f0d7e72
commit d36d62f6a6
12 files changed
+48 -39

No files matched your search

@@ -2,24 +2,21 @@
part of 'home_feed_overlay.dart';
/// 顶部频道 tab:关注/漫剧点击提示即将上线。
/// 顶部频道 tab:漫剧点击提示即将上线。
enum _FeedTab {
following,
anime,
real,
recommend;
bool get comingSoon => this == _FeedTab.following || this == _FeedTab.anime;
bool get comingSoon => this == _FeedTab.anime;
String get keyName => switch (this) {
_FeedTab.following => 'follow',
_FeedTab.anime => 'anime',
_FeedTab.real => 'real',
_FeedTab.recommend => 'recommend',
};
String label(AppLocalizations l10n) => switch (this) {
_FeedTab.following => l10n.feedTabFollowing,
_FeedTab.anime => l10n.feedTabAnime,
_FeedTab.real => l10n.feedTabReal,
_FeedTab.recommend => l10n.feedTabForYou,