mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-17 23:42:04 +00:00
MDBList Settings Screen Fix . Before Fix: Ratings Provider texts are hidden if mdbList not enabled. After Fix: API Card and Provider Card shown only if MDBList is enabled.
This commit is contained in:
parent
36c061a175
commit
fb8bfa771d
1 changed files with 5 additions and 2 deletions
|
|
@ -700,8 +700,9 @@ const MDBListSettingsScreen: React.FC = () => {
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
{isMdbListEnabled &&
|
||||||
<View style={[styles.card, !isMdbListEnabled && styles.disabledCard]}>
|
<>
|
||||||
|
<View style={[styles.card, !isMdbListEnabled && styles. disabledCard]}>
|
||||||
<Text style={[styles.sectionTitle, { color: isDarkMode ? currentTheme.colors.mediumEmphasis : currentTheme.colors.textMutedDark }]}>
|
<Text style={[styles.sectionTitle, { color: isDarkMode ? currentTheme.colors.mediumEmphasis : currentTheme.colors.textMutedDark }]}>
|
||||||
{t('mdblist.api_section')}
|
{t('mdblist.api_section')}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
@ -885,6 +886,8 @@ const MDBListSettingsScreen: React.FC = () => {
|
||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
|
</>
|
||||||
|
}
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
<CustomAlert
|
<CustomAlert
|
||||||
visible={alertVisible}
|
visible={alertVisible}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue