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

Commit b9e5905e authored by narinder Rana's avatar narinder Rana
Browse files

update compose feb button color(bg, icon)

parent 64793790
Loading
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import android.view.View
import android.view.ViewStub
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
import androidx.core.view.GravityCompat
import androidx.core.view.isVisible
import androidx.lifecycle.Lifecycle
@@ -67,8 +68,11 @@ import io.reactivex.subjects.PublishSubject
import io.reactivex.subjects.Subject
import kotlinx.android.synthetic.main.drawer_view.*
import kotlinx.android.synthetic.main.main_activity.*
import kotlinx.android.synthetic.main.main_activity.compose
import kotlinx.android.synthetic.main.main_activity.empty
import kotlinx.android.synthetic.main.main_permission_hint.*
import kotlinx.android.synthetic.main.main_syncing.*
import kotlinx.android.synthetic.main.scheduled_activity.*
import javax.inject.Inject

class MainActivity : QkThemedActivity(), MainView {
@@ -180,10 +184,11 @@ class MainActivity : QkThemedActivity(), MainView {
                    syncingProgress?.indeterminateTintList = ColorStateList.valueOf(theme.theme)
                    plusIcon.setTint(theme.theme)
                    rateIcon.setTint(theme.theme)
                    compose.setBackgroundTint(theme.theme)

                    // Set the FAB compose icon color
                    compose.setTint(theme.textPrimary)
                    compose.setTint(ContextCompat.getColor(this, R.color.tools_theme))
                    //set the FAB background color
                    compose.setBackgroundTint(ContextCompat.getColor(this, R.color.colorPrimaryDark))

                }

        // These theme attributes don't apply themselves on API 21