Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72e70122 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Hide secondary profile icons from drawer header

parent 498c0b78
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -173,6 +173,7 @@ class K9Drawer(private val parent: MessageList, savedInstanceState: Bundle?) : K

    private fun configureAccountHeader() {
        headerView.headerBackground = ImageHolder(R.drawable.header_background)
        headerView.onlyMainProfileImageVisible = true

        headerView.onAccountHeaderListener = { _, profile, _ ->
            val account = (profile as ProfileDrawerItem).tag as Account
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">

    <solid android:color="@color/color_default_primary_dark" />
    <solid android:color="@color/color_default_foreground" />

</shape>