feat(Notification): implement notification preferences management and enhance notification handling
- Introduced a new service for managing notification preferences, including push notifications, sound, and vibration settings. - Updated the notification handling logic to respect user preferences, ensuring notifications are displayed according to user settings. - Refactored the App and various screens to integrate the new notification preferences, improving user experience and consistency. - Enhanced the HomeScreen and NotificationSettingsScreen to load and update notification settings seamlessly. - Implemented a mechanism to hide the bottom tab bar based on scroll events, improving navigation usability.
This commit is contained in:
@@ -77,6 +77,8 @@ export interface Post {
|
||||
status: PostStatus;
|
||||
/** 所属频道ID */
|
||||
channelId?: string;
|
||||
/** 频道摘要(列表 API 填充,供 PostCard 等展示) */
|
||||
channel?: { id: string; name: string } | null;
|
||||
/** 标签列表 */
|
||||
tags: string[];
|
||||
/** 创建时间 */
|
||||
|
||||
Reference in New Issue
Block a user