File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
feature/settings/src/main/kotlin/com/ninecraft/booket/feature/settings Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -98,19 +98,21 @@ internal fun SettingsUi(
9898 )
9999 },
100100 )
101- SettingItem (
102- title = stringResource(R .string.settings_notification),
103- onItemClick = {
104- state.eventSink(SettingsUiEvent .OnNotificationClick )
105- },
106- action = {
107- Icon (
108- imageVector = ImageVector .vectorResource(id = designR.drawable.ic_chevron_right),
109- contentDescription = " Right Chevron Icon" ,
110- tint = Color .Unspecified ,
111- )
112- },
113- )
101+ if (! state.isGuestMode) {
102+ SettingItem (
103+ title = stringResource(R .string.settings_notification),
104+ onItemClick = {
105+ state.eventSink(SettingsUiEvent .OnNotificationClick )
106+ },
107+ action = {
108+ Icon (
109+ imageVector = ImageVector .vectorResource(id = designR.drawable.ic_chevron_right),
110+ contentDescription = " Right Chevron Icon" ,
111+ tint = Color .Unspecified ,
112+ )
113+ },
114+ )
115+ }
114116 SettingItem (
115117 title = stringResource(R .string.settings_terms_of_service),
116118 onItemClick = {
You can’t perform that action at this time.
0 commit comments