File tree 3 files changed +2
-3
lines changed
feature/message/src/main/kotlin/com/bff/wespot/message
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,8 @@ fun MessageEditScreen(
117
117
topBar = {
118
118
WSTopBar (
119
119
title = " " ,
120
- canNavigateBack = true ,
120
+ // 예약된 쪽지인 경우, action 버튼과 중복되는 동작을 수행하여, 뒤로가기 버튼은 숨김 처리한다.
121
+ canNavigateBack = state.isReservedMessage.not (),
121
122
navigateUp = {
122
123
navigator.navigateUp()
123
124
},
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ sealed class SendAction {
10
10
data class OnMessageEditScreenEntered (val isReservedMessage : Boolean , val messageId : Int ) : SendAction()
11
11
data class OnEditButtonClicked (val messageId : Int ) : SendAction()
12
12
data object OnSendButtonClicked : SendAction ()
13
- data object OnInviteFriendTextClicked : SendAction ()
14
13
data object OnReceiverScreenEntered : SendAction ()
15
14
data object OnWriteScreenEntered : SendAction ()
16
15
data object OnReservedMessageScreenEntered : SendAction ()
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ class SendViewModel @Inject constructor(
69
69
is SendAction .OnSendButtonClicked -> handleMessageSent()
70
70
is SendAction .OnRandomNameToggled -> handleRandomNameToggled()
71
71
is SendAction .OnEditButtonClicked -> handleEditButtonClicked(action.messageId)
72
- SendAction .OnInviteFriendTextClicked -> {}
73
72
SendAction .OnReservedMessageScreenEntered , SendAction .OnMessageScreenEntered -> {
74
73
clearSendUiState()
75
74
}
You can’t perform that action at this time.
0 commit comments