-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from Nexters/fix/board-back-to-onboarding-error
보드판 화면에서 미션 조회 실패 시 무한 반복 오류 수정
- Loading branch information
Showing
6 changed files
with
104 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...va/com/goalpanzi/mission_mate/feature/board/component/dialog/InvalidMissionErrorDialog.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.goalpanzi.mission_mate.feature.board.component.dialog | ||
|
||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.window.DialogProperties | ||
import com.goalpanzi.mission_mate.core.designsystem.component.MissionMateDialog | ||
import com.goalpanzi.mission_mate.feature.board.R | ||
|
||
@Composable | ||
fun InvalidMissionErrorDialog( | ||
onDismissRequest: () -> Unit, | ||
onClickOk: () -> Unit, | ||
modifier: Modifier = Modifier | ||
) { | ||
MissionMateDialog( | ||
titleId = R.string.board_mission_not_exist, | ||
onDismissRequest = onDismissRequest, | ||
onClickOk = onClickOk, | ||
okTextId = R.string.retry, | ||
dialogProperties = DialogProperties( | ||
usePlatformDefaultWidth = false, | ||
dismissOnBackPress = false, | ||
dismissOnClickOutside = false | ||
) | ||
) | ||
} |
4 changes: 2 additions & 2 deletions
4
feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/model/MissionError.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package com.goalpanzi.mission_mate.feature.board.model | ||
|
||
enum class MissionError { | ||
NOT_EXIST, | ||
} | ||
NOT_EXIST, INVALID_MISSION | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters