2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

Sets theme in FenixRobolectricTestApplication onCreate

This commit is contained in:
ekager 2020-10-13 11:28:37 -07:00 committed by Michael Comella
parent 3a6f74031c
commit 2c7789b1a8

View File

@ -5,6 +5,7 @@
package org.mozilla.fenix.helpers
import org.mozilla.fenix.FenixApplication
import org.mozilla.fenix.R
import org.mozilla.fenix.components.TestComponents
/**
@ -14,6 +15,11 @@ import org.mozilla.fenix.components.TestComponents
*/
class FenixRobolectricTestApplication : FenixApplication() {
override fun onCreate() {
super.onCreate()
setTheme(R.style.NormalTheme)
}
override val components = TestComponents(this)
override fun initializeGlean() = Unit