ZeeRooo / MaterialFBook

A light alternative client for Facebook based on the web with a modern look (Material Design)
GNU General Public License v3.0
139 stars 44 forks source link

Fix issue #206 #207

Closed theopensourceguy closed 5 years ago

theopensourceguy commented 5 years ago

For some reason, using android:background instead of app:srcCompat in the ImageView in the NavigationView header makes an AdaptiveIconView, that's being used internally somewhere, freak out and throw an IllegalArgumentException. Don't exactly know why, but this fixes the crash on opening the navigation drawer on devices running API >=26.

ZeeRooo commented 5 years ago

It was working in Pie and LP. I should have tried with lower apis before the release, but thanks for the PR. I forget to change this one, it's because i'm using a VectorDrawable instead of a .PNG