mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
tint active drawer item
This commit is contained in:
parent
bee1e9ddc5
commit
4be2e33663
1 changed files with 1 additions and 5 deletions
|
@ -297,11 +297,7 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
|
|||
* @param navigationView the drawers navigation view
|
||||
*/
|
||||
protected void setupDrawerMenu(NavigationView navigationView) {
|
||||
// on pre lollipop the light theme adds a black tint to icons with white coloring
|
||||
// ruining the generic avatars, so tinting for icons is deactivated pre lollipop
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
||||
navigationView.setItemIconTintList(null);
|
||||
}
|
||||
navigationView.setItemIconTintList(null);
|
||||
|
||||
// setup actions for drawer menu items
|
||||
navigationView.setNavigationItemSelectedListener(
|
||||
|
|
Loading…
Reference in a new issue