feat: conditionally show upscaler button based on user setting

This commit is contained in:
paregi12 2026-02-07 15:22:57 +05:30
parent 2394f5d158
commit f6b13c27c9

View file

@ -395,7 +395,7 @@ export const PlayerControls: React.FC<PlayerControlsProps> = ({
)}
{/* Video Enhancement Button (Top Access) */}
{playerBackend === 'MPV' && setShowEnhancementModal && (
{playerBackend === 'MPV' && setShowEnhancementModal && settings.enableShaders && (
<TouchableOpacity
style={{ padding: 8 }}
onPress={() => setShowEnhancementModal(true)}