1
0
mirror of https://github.com/etesync/android synced 2025-02-02 19:01:06 +00:00

Fix issue with Calendars missing from the account view.

This commit is contained in:
Tom Hacohen 2019-01-09 15:38:02 +00:00
parent 743c9e2de7
commit e3ff58c1c2

View File

@ -233,7 +233,7 @@ class AccountActivity : BaseActivity(), Toolbar.OnMenuItemClickListener, PopupMe
} else
card.visibility = View.GONE
card = findViewById<View>(R.id.caldav) as CardView
card = findViewById<View>(R.id.taskdav) as CardView
if (info.taskdav != null) {
val progress = findViewById<View>(R.id.taskdav_refreshing) as ProgressBar
progress.visibility = if (info.taskdav!!.refreshing) View.VISIBLE else View.GONE