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