flip some condition checks

This commit is contained in:
tibbi
2017-07-23 22:13:55 +02:00
parent 55c6f7267c
commit aa31875bd3

View File

@ -90,7 +90,7 @@ class MainActivity : SimpleActivity(), NavigationListener {
config.googleSync = false config.googleSync = false
} }
if (config.syncAccountName.isNotEmpty() && config.googleSync) { if (config.googleSync && config.syncAccountName.isNotEmpty()) {
FetchGoogleEventsTask(this, googleSyncListener).execute() FetchGoogleEventsTask(this, googleSyncListener).execute()
} }
} }