Skip to content

Commit b0f73b6

Browse files
author
zerox80
committed
Feature: Thumbnail Cache Improvements & Critical Fixes
Comprehensive update addressing thumbnail caching, avatar display, and login state management: ## Thumbnail & Avatar Caching - Dynamic credential retrieval for thumbnail loading - Account-specific ImageLoaders with shared caches - Removed deprecated AvatarManager ## Avatar Display Fixes - Fixed invisible avatars - Moved avatar loading off main thread - Fixed startup crashes ## Build Improvements - Removed duplicate methods - Code cleanup and refactoring
1 parent f093c8c commit b0f73b6

File tree

21 files changed

+312
-1021
lines changed

21 files changed

+312
-1021
lines changed

opencloudApp/src/main/java/eu/opencloud/android/MainApp.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import android.widget.CheckBox
3939
import androidx.appcompat.app.AlertDialog
4040
import androidx.core.content.pm.PackageInfoCompat
4141
import eu.opencloud.android.data.providers.implementation.OCSharedPreferencesProvider
42-
import eu.opencloud.android.datamodel.ThumbnailsCacheManager
42+
4343
import eu.opencloud.android.db.PreferenceManager
4444
import eu.opencloud.android.dependecyinjection.commonModule
4545
import eu.opencloud.android.dependecyinjection.localDataSourceModule
@@ -107,8 +107,7 @@ class MainApp : Application() {
107107

108108
SingleSessionManager.setUserAgent(userAgent)
109109

110-
// initialise thumbnails cache on background thread
111-
ThumbnailsCacheManager.InitDiskCacheTask().execute()
110+
112111

113112
initDependencyInjection()
114113

0 commit comments

Comments
 (0)