chore: remove IDE config files and improve web platform compatibility
All checks were successful
Frontend CI / build-and-push-web (push) Successful in 2m31s
Frontend CI / ota-android (push) Successful in 10m26s
Frontend CI / build-android-apk (push) Successful in 40m43s

- Remove `.idea/` IntelliJ configuration files from version control
- Add web-specific touch handling for swipeable message bubbles and schedule screen
- Fix CSS touch-action rules for better web scrolling behavior
- Add nestedScrollEnabled to ScrollViews for proper gesture handling
- Improve null safety checks in profile screens
- Add horizontal ScrollView wrapper for notification filter tags
- Add hasHeader prop support for embedded profile screens
This commit is contained in:
lafay
2026-04-14 02:12:53 +08:00
parent 57d7c7405c
commit c00b915e5f
18 changed files with 262 additions and 583 deletions

View File

@@ -1182,7 +1182,7 @@ export const PostDetailScreen: React.FC = () => {
)}
</View>
{currentUser?.id === post.author?.id && (
{!!currentUser && currentUser.id === post.author?.id && (
<View style={styles.metaActions}>
<TouchableOpacity
style={styles.editButtonInline}
@@ -1214,8 +1214,8 @@ export const PostDetailScreen: React.FC = () => {
</TouchableOpacity>
</View>
)}
{/* 举报按钮 - 只对非帖子作者显示 */}
{currentUser?.id !== post.author?.id && (
{/* 举报按钮 - 只对已登录且非帖子作者显示 */}
{!!currentUser && currentUser.id !== post.author?.id && (
<TouchableOpacity
style={styles.reportButtonInline}
onPress={() => {