Skip to content

Commit

Permalink
rename inner it to avoid shadowed it
Browse files Browse the repository at this point in the history
  • Loading branch information
davotoula committed Nov 3, 2024
1 parent b877e41 commit aad5aaa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
)
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aad5aaa

Please sign in to comment.