Skip to content

Commit

Permalink
fix: Fix image not fill screen when zoomed
Browse files Browse the repository at this point in the history
  • Loading branch information
kongwoojin committed Aug 4, 2024
1 parent d183a80 commit a51e795
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.kongjak.koreatechboard.ui.components.dialog

import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.runtime.Composable
Expand All @@ -27,6 +28,8 @@ fun ImageDialog(
properties = DialogProperties(usePlatformDefaultWidth = false)
) {
Box(
modifier = Modifier
.fillMaxSize(),
contentAlignment = Alignment.Center
) {
val zoomState = rememberZoomState()
Expand Down

0 comments on commit a51e795

Please sign in to comment.