1
0
Fork 0
fenix/app/src/main/java/org/mozilla
Grisha Kruglov 60943df6d9 Closes #9561: Fix initialization order in HomeMenu
`init` blocks are executed before `val` initialization which is declared afterwards
in the class. In this case, we had `quitItem` and `reconnectToSyncItem` as lazy,
but declared after the `init` block which may need them. And so, while this compiles
just fine, in practice we run into an NPE as the `init` block tries to get the lazy's value.

Simply re-ordering initialization fixes the problem.
2020-03-31 16:07:35 -07:00
..
fenix Closes #9561: Fix initialization order in HomeMenu 2020-03-31 16:07:35 -07:00
gecko/search Issue #8277: Reuse app icon in widget layout. 2020-02-17 11:37:15 +01:00