Skip to content

Commit

Permalink
hotfix. fix wrong cut frame color [#103]
Browse files Browse the repository at this point in the history
- 검은색 프레임 선택 시, 흰색 결과물이 나오는 버그 수정
  • Loading branch information
DokySp committed Oct 11, 2024
1 parent bb909c6 commit 415226d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.drawWithContent
import androidx.compose.ui.graphics.layer.GraphicsLayer
import androidx.compose.ui.graphics.layer.drawLayer
import androidx.compose.ui.graphics.rememberGraphicsLayer
import androidx.compose.ui.text.font.FontWeight
Expand All @@ -24,6 +23,7 @@ import com.foke.together.domain.interactor.entity.FramePosition
import com.foke.together.presenter.frame.FourCutFrame
import com.foke.together.presenter.frame.MakerFaireFrame
import com.foke.together.presenter.theme.FourCutTogetherTheme
import com.foke.together.presenter.theme.mediumContrastDarkColorScheme
import com.foke.together.presenter.theme.mediumContrastLightColorScheme
import com.foke.together.presenter.viewmodel.GenerateTwoRowImageViewModel
import com.foke.together.util.AppLog
Expand Down Expand Up @@ -97,7 +97,7 @@ fun GetFrame(
cutFrameType : Int,
imageUri: List<Uri>,
position: FramePosition? = null
): Unit{
) {
when(cutFrameType) {
CutFrameType.MAKER_FAIRE.ordinal -> MakerFaireFrame(
cameraImageUrlList = imageUri,
Expand All @@ -111,7 +111,7 @@ fun GetFrame(
)

CutFrameType.FOURCUT_DARK.ordinal -> FourCutFrame(
designColorScheme = mediumContrastLightColorScheme,
designColorScheme = mediumContrastDarkColorScheme,
cameraImageUrlList = imageUri,
position = position
)
Expand Down

0 comments on commit 415226d

Please sign in to comment.