mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 07:07:37 +01:00
rename inner it to avoid shadowed it
This commit is contained in:
@@ -324,8 +324,8 @@ private fun saveMediaToGallery(
|
|||||||
onSuccess = {
|
onSuccess = {
|
||||||
accountViewModel.toast(success, success)
|
accountViewModel.toast(success, success)
|
||||||
},
|
},
|
||||||
onError = {
|
onError = { innerIt ->
|
||||||
accountViewModel.toast(failure, null, it)
|
accountViewModel.toast(failure, null, innerIt)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -379,7 +379,7 @@ private fun RenderImageOrVideo(
|
|||||||
onToggleControllerVisibility: (() -> Unit)? = null,
|
onToggleControllerVisibility: (() -> Unit)? = null,
|
||||||
accountViewModel: AccountViewModel,
|
accountViewModel: AccountViewModel,
|
||||||
) {
|
) {
|
||||||
val automaticallyStartPlayback = remember { mutableStateOf<Boolean>(true) }
|
val automaticallyStartPlayback = remember { mutableStateOf(true) }
|
||||||
val contentScale =
|
val contentScale =
|
||||||
if (isFiniteHeight) {
|
if (isFiniteHeight) {
|
||||||
ContentScale.Fit
|
ContentScale.Fit
|
||||||
|
|||||||
Reference in New Issue
Block a user