Fixed tag-editor background

This commit is contained in:
Prathamesh More 2021-09-16 18:20:14 +05:30
parent cccbc2804e
commit 9aa897fe7d
7 changed files with 6 additions and 12 deletions

View file

@ -19,7 +19,6 @@ import android.view.MenuItem
import androidx.navigation.NavController
import androidx.navigation.NavDestination
import code.name.monkey.appthemehelper.ThemeStore
import code.name.monkey.appthemehelper.util.ATHUtil
import code.name.monkey.appthemehelper.util.VersionUtils
import code.name.monkey.retromusic.R
import code.name.monkey.retromusic.activities.base.AbsBaseActivity
@ -37,7 +36,6 @@ class SettingsActivity : AbsBaseActivity(), ColorCallback {
super.onCreate(savedInstanceState)
binding = ActivitySettingsBinding.inflate(layoutInflater)
setContentView(binding.root)
setLightStatusbarAuto(ATHUtil.resolveColor(this, R.attr.colorSurface))
setupToolbar()
}

View file

@ -21,7 +21,7 @@ import code.name.monkey.appthemehelper.util.ToolbarContentTintHelper
import com.google.android.material.appbar.MaterialToolbar
fun AppCompatActivity.applyToolbar(toolbar: MaterialToolbar) {
toolbar.setBackgroundColor(surfaceColor())
//toolbar.setBackgroundColor(surfaceColor())
ToolbarContentTintHelper.colorBackButton(toolbar)
setSupportActionBar(toolbar)
}