File tree Expand file tree Collapse file tree
presentation/src/main/java/com/threegap/bitnagil/presentation/setting Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class SettingViewModel @Inject constructor(
4545 return state.copy(useServiceAlarm = ! state.useServiceAlarm)
4646 }
4747
48- is SettingIntent .ShowConfirmDialog -> {
48+ is SettingIntent .ShowLogoutConfirmDialog -> {
4949 return state.copy(logoutConfirmDialogVisible = true )
5050 }
5151
@@ -69,7 +69,7 @@ class SettingViewModel @Inject constructor(
6969 }
7070
7171 fun showLogoutDialog () {
72- sendIntent(SettingIntent .ShowConfirmDialog )
72+ sendIntent(SettingIntent .ShowLogoutConfirmDialog )
7373 }
7474
7575 fun hideConfirmDialog () {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ sealed class SettingIntent : MviIntent {
1010 val latestVersion : String ,
1111 ) : SettingIntent()
1212
13- data object ShowConfirmDialog : SettingIntent ()
13+ data object ShowLogoutConfirmDialog : SettingIntent ()
1414 data object HideConfirmDialog : SettingIntent ()
1515 data object ToggleServiceAlarm : SettingIntent ()
1616 data object TogglePushAlarm : SettingIntent ()
You can’t perform that action at this time.
0 commit comments