try to fix random crash

This commit is contained in:
Milos Kozak 2016-09-13 22:34:40 +02:00
parent ecb685f7f6
commit 5ac2cd5cca

View file

@ -39,8 +39,8 @@ public class MainActivity extends AppCompatActivity {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
Iconify.with(new FontAwesomeModule()); Iconify.with(new FontAwesomeModule());
LocaleHelper.onCreate(this, "en"); LocaleHelper.onCreate(this, "en");
checkEula();
setContentView(R.layout.activity_main); setContentView(R.layout.activity_main);
checkEula();
if (Config.logFunctionCalls) if (Config.logFunctionCalls)
log.debug("onCreate"); log.debug("onCreate");