@@ -53,9 +53,6 @@ export default function SettingsScreen() {
5353 const isDark = effectiveTheme === 'dark' ;
5454 const colors = getThemeColors ( isDark ) ;
5555
56- // Sync and notification state (reserved for future features)
57- // const [syncEnabled, setSyncEnabled] = useState(true);
58- const [ notificationsEnabled , setNotificationsEnabled ] = useState ( true ) ;
5956 const [ isSyncing , setIsSyncing ] = useState ( false ) ;
6057
6158 const handleThemeChange = ( value : boolean ) => {
@@ -186,31 +183,6 @@ export default function SettingsScreen() {
186183 </ View >
187184 </ View >
188185
189- < View style = { styles . section } >
190- < Text style = { [ styles . sectionTitle , { color : colors . text . tertiary } ] } > NOTIFICATIONS</ Text >
191- < View style = { styles . sectionContent } >
192- < SettingItem
193- icon = { 'bell' as any }
194- title = "Push Notifications"
195- subtitle = "Get notified about sync status"
196- colors = { colors }
197- rightElement = {
198- < Switch
199- value = { notificationsEnabled }
200- onValueChange = { setNotificationsEnabled }
201- trackColor = { {
202- false : isDark ? Colors . neutral . gray700 : Colors . neutral . gray300 ,
203- true : Colors . primary . blue ,
204- } }
205- thumbColor = { isDark ? Colors . neutral . white : Colors . neutral . white }
206- ios_backgroundColor = { isDark ? Colors . neutral . gray700 : Colors . neutral . gray300 }
207- />
208- }
209- showChevron = { false }
210- />
211- </ View >
212- </ View >
213-
214186 < View style = { styles . section } >
215187 < Text style = { [ styles . sectionTitle , { color : colors . text . tertiary } ] } > ABOUT</ Text >
216188 < View style = { styles . sectionContent } >
@@ -224,8 +196,17 @@ export default function SettingsScreen() {
224196 < SettingItem
225197 icon = { 'questionmark.circle' as any }
226198 title = "Help & Support"
199+ subtitle = "Report issues on GitHub"
227200 colors = { colors }
228- onPress = { ( ) => Alert . alert ( 'Help' , 'Visit our documentation for help.' ) }
201+ onPress = { ( ) => {
202+ // Open GitHub issues page
203+ const githubIssuesUrl = 'https://github.com/StringNick/decanotes/issues' ;
204+ import ( 'expo-web-browser' ) . then ( ( { openBrowserAsync } ) => {
205+ openBrowserAsync ( githubIssuesUrl ) ;
206+ } ) . catch ( ( ) => {
207+ Alert . alert ( 'Help & Support' , `Visit: ${ githubIssuesUrl } ` ) ;
208+ } ) ;
209+ } }
229210 />
230211 < SettingItem
231212 icon = { 'doc.text' as any }
0 commit comments