60943df6d9
`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. |
||
---|---|---|
.. | ||
androidTest | ||
debug | ||
fenixBeta/res | ||
fenixNightly | ||
fennecBeta/res | ||
fennecNightly/res | ||
fennecProduction/res/xml | ||
geckoBeta/java/org/mozilla/fenix/engine | ||
geckoNightly/java/org/mozilla/fenix/engine | ||
main | ||
migration | ||
test |