mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
flip some condition checks
This commit is contained in:
@ -90,7 +90,7 @@ class MainActivity : SimpleActivity(), NavigationListener {
|
||||
config.googleSync = false
|
||||
}
|
||||
|
||||
if (config.syncAccountName.isNotEmpty() && config.googleSync) {
|
||||
if (config.googleSync && config.syncAccountName.isNotEmpty()) {
|
||||
FetchGoogleEventsTask(this, googleSyncListener).execute()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user