@@ -126,29 +126,32 @@ private struct SidebarView: View {
126126 @ViewBuilder
127127 private var more : some View {
128128#if IS_JETPACK
129- Label {
130- Text ( Strings . notifications)
131- } icon: {
132- if notificationsButtonViewModel. counter > 0 {
133- Image ( systemName: " bell.badge " )
134- . foregroundStyle ( . red, Color ( UIAppColor . brand) )
135- } else {
136- Image ( systemName: " bell " )
129+ if AccountHelper . isDotcomAvailable ( ) {
130+ Label {
131+ Text ( Strings . notifications)
132+ } icon: {
133+ if notificationsButtonViewModel. counter > 0 {
134+ Image ( systemName: " bell.badge " )
135+ . foregroundStyle ( . red, Color ( UIAppColor . brand) )
136+ } else {
137+ Image ( systemName: " bell " )
138+ }
137139 }
138- }
139- . accessibilityIdentifier ( " sidebar_notifications " )
140- . tag ( SidebarSelection . notifications)
140+ . accessibilityIdentifier ( " sidebar_notifications " )
141+ . tag ( SidebarSelection . notifications)
141142
142- Label ( Strings . reader, systemImage: " eyeglasses " )
143- . tag ( SidebarSelection . reader)
144- . accessibilityIdentifier ( " sidebar_reader " )
143+ Label ( Strings . reader, systemImage: " eyeglasses " )
144+ . tag ( SidebarSelection . reader)
145+ . accessibilityIdentifier ( " sidebar_reader " )
145146
146- if RemoteFeatureFlag . domainManagement. enabled ( ) {
147- Button ( action: { viewModel. navigate ( . domains) } ) {
148- Label ( Strings . domains, systemImage: " network " )
147+ if RemoteFeatureFlag . domainManagement. enabled ( ) {
148+ Button ( action: { viewModel. navigate ( . domains) } ) {
149+ Label ( Strings . domains, systemImage: " network " )
150+ }
151+ . accessibilityIdentifier ( " sidebar_domains " )
149152 }
150- . accessibilityIdentifier ( " sidebar_domains " )
151153 }
154+
152155 Button ( action: { viewModel. navigate ( . help) } ) {
153156 Label ( Strings . help, systemImage: " questionmark.circle " )
154157 }
0 commit comments