chore: remove IDE config files and improve web platform compatibility
- 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:
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user