mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
Merge pull request #7251 from BlueWallet/noti
Update NotificationSettings.tsx
This commit is contained in:
commit
ce09ddd295
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user