fix(i18n): 去掉印尼语内容完整性过滤,缺失时回退中文
This commit is contained in:
1 parent
c307903c42
commit
3bc79ad8e2
12 files changed
+17
-123
No files matched your search
@@ -9,7 +9,6 @@ import '../../core/data/models/drama.dart';
|
||||
import '../../core/data/models/home_feed.dart';
|
||||
import '../../core/data/remote/catalog_api.dart';
|
||||
import '../../core/data/services/category_controller.dart';
|
||||
import '../../core/formatting/content_locale_guard.dart';
|
||||
import '../../core/theme/app_colors.dart';
|
||||
import '../../core/widgets/app_pull_to_refresh.dart';
|
||||
import '../../core/widgets/empty_state.dart';
|
||||
@@ -285,10 +284,7 @@ class _ChannelFeedState extends State<_ChannelFeed>
|
||||
super.build(context);
|
||||
final categories = context.watch<CategoryController>();
|
||||
final slot = categories.slotOf(widget.categoryId);
|
||||
final dramas = visibleDramasForLocale(
|
||||
slot.dramas,
|
||||
Localizations.localeOf(context).languageCode,
|
||||
);
|
||||
final dramas = slot.dramas;
|
||||
final showCarousel = widget.isFeatured && widget.banners.isNotEmpty;
|
||||
final bottomInset = MediaQuery.of(context).padding.bottom;
|
||||
|
||||
|
||||
Reference in new issue
Block a user