Files
musicland/src/screens/Profile/Notifications.js
T
Philip Cesar Garay 2a34e9d547 update
2025-08-26 18:08:09 +08:00

70 lines
2.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* eslint-disable react/display-name */
import React from "reactn";
import Page from "../../layouts/Page";
import { gutters, Palette, Style } from "../../styles";
import { background } from "../../assets";
import { Platform, Text, View } from "react-native";
import { responsiveHeight } from "react-native-responsive-dimensions";
import { BlurView } from "expo-blur";
import Switch from "../../components/Switch";
import { useState } from "react";
import { FONT_FAMILY } from "../../styles/Fonts";
export default (props) => {
const [isSwitch, setIsSwitch] = useState(false);
return (
<Page
headerType="NAVIGATE"
title="Paramètres"
backgroundImg={background.profileBG}
contentContainerStyle={{
paddingBottom: gutters * 4,
}}
containerStyle={{
backgroundColor: "#0000004D",
}}
>
<View style={{ flex: 1, marginTop: responsiveHeight(2) }}>
<BlurView
intensity={20}
style={{
gap: 12,
paddingVertical: 15,
paddingHorizontal: 20,
borderRadius: 20,
overflow: "hidden",
backgroundColor: Palette.glass,
}}
experimentalBlurMethod={
Platform.OS !== "ios" ? "dimezisBlurView" : "none"
}
>
<View style={Style.containerSpaceBetween}>
<Text
style={{
fontSize: 20,
color: Palette.white,
fontFamily: FONT_FAMILY.HelveticaNeueMedium,
}}
>
Notifications
</Text>
<Switch value={isSwitch} setValue={setIsSwitch} />
</View>
<Text
style={{
fontSize: 12,
color: Palette.white,
fontFamily: FONT_FAMILY.InterRegular,
}}
>
Nous tencourageons à activer les notifications pour découvrir les
derniers classements, les nouveaux sons et les meilleurs playbacks.
</Text>
</BlurView>
</View>
</Page>
);
};