Removed pink background from slider

This commit is contained in:
Alex Kim
2024-12-06 02:50:16 +11:00
parent b3f471bfa6
commit 98c0ed4ad5
2 changed files with 1 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import { useSharedValue } from "react-native-reanimated";
import { Slider } from "react-native-awesome-slider";
import * as Brightness from "expo-brightness";
import { Ionicons } from "@expo/vector-icons";
import MaterialCommunityIcons from "@expo/vector-icons/MaterialCommunityIcons";
const BrightnessSlider = () => {
const brightness = useSharedValue(50);

View File

@@ -453,7 +453,6 @@ export const Controls: React.FC<Props> = ({
transform: [{ translateY: -22.5 }], // Adjust for the button's height (half of 45)
paddingHorizontal: "28%", // Add some padding to the left and right
opacity: showControls ? 1 : 0,
backgroundColor: "pink",
}}
pointerEvents={showControls ? "box-none" : "none"}
>