This commit is contained in:
LagradOst 2022-04-03 13:51:35 +02:00
parent 4447196ebc
commit becefe1edd
2 changed files with 2 additions and 5 deletions

View File

@ -82,7 +82,6 @@ import kotlinx.android.synthetic.main.fragment_home.home_type_completed_btt
import kotlinx.android.synthetic.main.fragment_home.home_type_dropped_btt
import kotlinx.android.synthetic.main.fragment_home.home_type_on_hold_btt
import kotlinx.android.synthetic.main.fragment_home.home_type_watching_btt
import kotlinx.android.synthetic.main.fragment_home.home_watch_child_more_info
import kotlinx.android.synthetic.main.fragment_home.home_watch_child_recyclerview
import kotlinx.android.synthetic.main.fragment_home.home_watch_holder
import kotlinx.android.synthetic.main.fragment_home.home_watch_parent_item_title
@ -823,9 +822,8 @@ class HomeFragment : Fragment() {
for (syncApi in OAuth2API.OAuth2Apis) {
val login = syncApi.loginInfo()
val pic = login?.profilePicture
if (pic != null) {
home_profile_picture.setImage(pic)
home_profile_picture_holder.isVisible = true
if (home_profile_picture?.setImage(pic) == true) {
home_profile_picture_holder?.isVisible = true
break
}
}

View File

@ -202,7 +202,6 @@
android:layout_width="match_parent"
android:layout_height="100dp">
<!--
<androidx.cardview.widget.CardView
android:id="@+id/home_profile_picture_holder"