From 0709076e54f706cd300268430cf0111baabd123d Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Thu, 22 Oct 2020 14:51:53 +0200 Subject: [PATCH] wip Signed-off-by: tobiasKaminsky --- .../java/com/nextcloud/ui/ChooseAccountDialogFragment.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt b/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt index ab613554c5..c0d0a862a0 100644 --- a/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt +++ b/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt @@ -37,6 +37,7 @@ import com.owncloud.android.R import com.owncloud.android.datamodel.FileDataStorageManager import com.owncloud.android.lib.resources.users.Status import com.owncloud.android.lib.resources.users.StatusType +import com.owncloud.android.ui.StatusDrawable import com.owncloud.android.ui.activity.BaseActivity import com.owncloud.android.ui.activity.DrawerActivity import com.owncloud.android.ui.adapter.UserListAdapter @@ -129,9 +130,9 @@ class ChooseAccountDialogFragment : DialogFragment(), AvatarGenerationListener, val status = Status(StatusType.dnd, "Do not disturb", "", -1) - if (status) { - ticker. - } +// if (status) { + ticker.setImageDrawable(StatusDrawable(R.drawable.ic_user_status_dnd, 18f, context)) +// } } }