mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +00:00
Removed Debrid Integration
This commit is contained in:
parent
4ea96b477f
commit
f4bd44d3e0
2 changed files with 6 additions and 29 deletions
|
|
@ -73,7 +73,7 @@ import BackdropGalleryScreen from '../screens/BackdropGalleryScreen';
|
|||
import BackupScreen from '../screens/BackupScreen';
|
||||
import ContinueWatchingSettingsScreen from '../screens/ContinueWatchingSettingsScreen';
|
||||
import ContributorsScreen from '../screens/ContributorsScreen';
|
||||
import DebridIntegrationScreen from '../screens/DebridIntegrationScreen';
|
||||
|
||||
import {
|
||||
ContentDiscoverySettingsScreen,
|
||||
AppearanceSettingsScreen,
|
||||
|
|
@ -214,7 +214,7 @@ export type RootStackParamList = {
|
|||
};
|
||||
ContinueWatchingSettings: undefined;
|
||||
Contributors: undefined;
|
||||
DebridIntegration: undefined;
|
||||
|
||||
// New organized settings screens
|
||||
ContentDiscoverySettings: undefined;
|
||||
AppearanceSettings: undefined;
|
||||
|
|
@ -1730,21 +1730,7 @@ const InnerNavigator = ({ initialRouteName }: { initialRouteName?: keyof RootSta
|
|||
},
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="DebridIntegration"
|
||||
component={DebridIntegrationScreen}
|
||||
options={{
|
||||
animation: Platform.OS === 'android' ? 'default' : 'slide_from_right',
|
||||
animationDuration: Platform.OS === 'android' ? 250 : 300,
|
||||
presentation: 'card',
|
||||
gestureEnabled: true,
|
||||
gestureDirection: 'horizontal',
|
||||
headerShown: false,
|
||||
contentStyle: {
|
||||
backgroundColor: currentTheme.colors.darkBackground,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
|
||||
<Stack.Screen
|
||||
name="ContentDiscoverySettings"
|
||||
component={ContentDiscoverySettingsScreen}
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ export const ContentDiscoverySettingsContent: React.FC<ContentDiscoverySettingsC
|
|||
|
||||
return (
|
||||
<>
|
||||
{hasVisibleItems(['addons', 'debrid']) && (
|
||||
{hasVisibleItems(['addons', 'scrapers']) && (
|
||||
<SettingsCard title={t('settings.sections.sources')} isTablet={isTablet}>
|
||||
{isItemVisible('addons') && (
|
||||
<SettingItem
|
||||
|
|
@ -89,20 +89,11 @@ export const ContentDiscoverySettingsContent: React.FC<ContentDiscoverySettingsC
|
|||
icon="layers"
|
||||
renderControl={() => <ChevronRight />}
|
||||
onPress={() => navigation.navigate('Addons')}
|
||||
isLast={!isItemVisible('debrid')}
|
||||
isTablet={isTablet}
|
||||
/>
|
||||
)}
|
||||
{isItemVisible('debrid') && (
|
||||
<SettingItem
|
||||
title={t('settings.items.debrid_integration')}
|
||||
description={t('settings.items.debrid_desc')}
|
||||
icon="link"
|
||||
renderControl={() => <ChevronRight />}
|
||||
onPress={() => navigation.navigate('DebridIntegration')}
|
||||
isLast={!isItemVisible('scrapers')}
|
||||
isTablet={isTablet}
|
||||
/>
|
||||
)}
|
||||
|
||||
{isItemVisible('scrapers') && (
|
||||
<SettingItem
|
||||
title={t('settings.items.plugins')}
|
||||
|
|
|
|||
Loading…
Reference in a new issue