fix crash when profile has no value yet
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 11 Feb 2019 21:44:35 +0000 (23:44 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 11 Feb 2019 21:44:35 +0000 (23:44 +0200)
commitb4d5812942fdb2ca89c9f048e539c4c65a8994cf
treef01b896574a20db4335a36b9653e94c49e2eef2c
parentc2b76737c32b75f5e4bd45f1e7b466f948101ca3
fix crash when profile has no value yet

seems to happen when the app is restarted after a crash
skipping the check seems fine, maybe because a following setting of
Data.profile triggers it again
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java