Skip to content

Commit 81ee757

Browse files
author
jacobrein
committed
Feat: Update Dependencies and Improve Details Fragment
This commit updates several dependencies and improves the Details Fragment in the application: - **Dependency Updates:** - Updated `haze` to version `1.5.1`. - Updated `media3Version` to `1.6.0-rc02`. - Updated `firebaseUiAuth` to version `9.0.0`. - **Details Fragment Improvement** - Moved the `showDownload` to be remembered by the handling. - This improves the performance and efficiency of the `DetailsFragment`
1 parent f4e0aff commit 81ee757

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

UIViews/src/main/java/com/programmersbox/uiviews/presentation/details/DetailsFragment.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,11 @@ private fun DetailsScreenInternal(
132132
dao: ItemDao = LocalItemDao.current,
133133
details: DetailsViewModel = koinViewModel(),
134134
) {
135-
val showDownload by LocalSettingsHandling.current.rememberShowDownload()
136135
val scope = rememberCoroutineScope()
137136
val handling = LocalSettingsHandling.current
138137

138+
val showDownload by handling.rememberShowDownload()
139139
val usePalette by handling.rememberUsePalette()
140-
141140
val isAmoledMode by handling.rememberIsAmoledMode()
142141
val themeSetting by handling.rememberSystemThemeMode()
143142
val paletteSwatchType by rememberSwatchType()

gradle/libs.versions.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dragselect = "2.4.1"
1515
easylauncher = "6.4.0"
1616
firebaseCrashlyticsGradle = "3.0.3"
1717
googleServices = "4.4.2"
18-
haze = "1.5.0"
18+
haze = "1.5.1"
1919
kamelImage = "1.0.3"
2020
latestAboutLibsRelease = "11.6.3"
2121
coroutinesVersion = "1.10.1"
@@ -58,7 +58,7 @@ piasy = "1.8.1"
5858

5959
### AnimeWorld
6060
autoBinding = "1.1-beta04"
61-
media3Version = "1.6.0-rc01"
61+
media3Version = "1.6.0-rc02"
6262

6363
junit = "1.2.1"
6464
espresso-core = "3.6.1"
@@ -334,7 +334,7 @@ firebaseAuth = { group = "com.google.firebase", name = "firebase-auth" }
334334
crashlytics = { group = "com.google.firebase", name = "firebase-crashlytics" }
335335
analytics = { group = "com.google.firebase", name = "firebase-analytics" }
336336
firebase-perf = { module = "com.google.firebase:firebase-perf" }
337-
firebaseUiAuth = "com.firebaseui:firebase-ui-auth:8.0.2"
337+
firebaseUiAuth = "com.firebaseui:firebase-ui-auth:9.0.0"
338338
playServices = "com.google.android.gms:play-services-auth:21.3.0"
339339

340340
firebase-database-ktx = { module = "com.github.skydoves:firebase-database-ktx", version.ref = "firebaseKtx" }

0 commit comments

Comments
 (0)