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:
parent
3a6f74031c
commit
2c7789b1a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user