From cdbdc64f2d6aa39da15bbfe1fe43b1537943c7c9 Mon Sep 17 00:00:00 2001 From: joragua Date: Thu, 28 Nov 2024 11:25:11 +0100 Subject: [PATCH] refactor: removed unnecessary code in toolbar for light users --- changelog/unreleased/4518 | 2 +- .../presentation/files/filelist/MainEmptyListFragment.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog/unreleased/4518 b/changelog/unreleased/4518 index 3348ed917f4..5bb03006a0b 100644 --- a/changelog/unreleased/4518 +++ b/changelog/unreleased/4518 @@ -1,6 +1,6 @@ Enhancement: oCIS Light Users -Support for oCIS light users has been added to the app +oCIS light users (users without personal space) are now supported in the app https://github.com/owncloud/android/issues/4490 https://github.com/owncloud/android/pull/4518 diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainEmptyListFragment.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainEmptyListFragment.kt index da5927ea031..01a3595105a 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainEmptyListFragment.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainEmptyListFragment.kt @@ -52,7 +52,7 @@ class MainEmptyListFragment : Fragment() { val titleToolbar = requireActivity().findViewById(R.id.root_toolbar_title) titleToolbar.apply { setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, 0, 0) - titleToolbar.isClickable = false + isClickable = false } }