File tree Expand file tree Collapse file tree
app/src/main/java/com/into/websoso/ui/feedDetail Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ class FeedDetailActivity : BaseActivity<ActivityFeedDetailBinding>(activity_feed
123123 }
124124
125125 override fun onProfileClick (userId : Long , isMyFeed : Boolean ) {
126- if (isMyFeed || userId.toInt() == - 1 ) return
126+ if (isMyFeed) return
127127 navigateToProfile(userId)
128128 }
129129
@@ -137,13 +137,13 @@ class FeedDetailActivity : BaseActivity<ActivityFeedDetailBinding>(activity_feed
137137 NovelDetailActivity .getIntent(
138138 this @FeedDetailActivity,
139139 novelId,
140- )
140+ ),
141141 )
142142 }
143143
144144 private fun onCommentClick (): CommentClickListener = object : CommentClickListener {
145145 override fun onProfileClick (userId : Long , isMyComment : Boolean ) {
146- if (isMyComment || userId.toInt() == - 1 ) return
146+ if (isMyComment) return
147147 navigateToProfile(userId)
148148 }
149149
@@ -162,7 +162,7 @@ class FeedDetailActivity : BaseActivity<ActivityFeedDetailBinding>(activity_feed
162162 OtherUserPageActivity .getIntent(
163163 this @FeedDetailActivity,
164164 userId,
165- )
165+ ),
166166 )
167167 }
168168
@@ -452,7 +452,7 @@ class FeedDetailActivity : BaseActivity<ActivityFeedDetailBinding>(activity_feed
452452 ) = Unit
453453
454454 override fun afterTextChanged (s : Editable ? ) = Unit
455- }
455+ },
456456 )
457457 }
458458
You can’t perform that action at this time.
0 commit comments