Merge pull request #7251 from BlueWallet/noti

Update NotificationSettings.tsx
This commit is contained in:
GLaDOS 2024-10-31 13:22:53 +00:00 committed by GitHub
commit ce09ddd295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@ import ListItem, { PressableWrapper } from '../../components/ListItem';
import { useTheme } from '../../components/themes';
import loc from '../../loc';
import { Divider } from '@rneui/base';
import { openSettings } from 'react-native-permissions';
const NotificationSettings: React.FC = () => {
const [isLoading, setIsLoading] = useState(true);
@ -124,7 +125,7 @@ const NotificationSettings: React.FC = () => {
}, [URI]);
const onSystemSettings = () => {
Linking.openSettings();
openSettings('notifications');
};
return (