mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-29 22:10:32 +00:00
some changes
This commit is contained in:
parent
de07a4620b
commit
5bb3aa7e3b
3 changed files with 16 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit a251769bedb4ab2f1f983e2c2a216041c664780a
|
||||
Subproject commit 2310c9bec1b0abaa48304ba2a64561da15ebceb6
|
||||
|
|
@ -10,6 +10,7 @@ import {
|
|||
Switch,
|
||||
ActivityIndicator,
|
||||
RefreshControl,
|
||||
Image,
|
||||
} from 'react-native';
|
||||
import { SafeAreaView } from 'react-native-safe-area-context';
|
||||
import { Ionicons } from '@expo/vector-icons';
|
||||
|
|
@ -183,6 +184,13 @@ const ScraperSettingsScreen: React.FC = () => {
|
|||
|
||||
const renderScraperItem = (scraper: ScraperInfo) => (
|
||||
<View key={scraper.id} style={styles.scraperItem}>
|
||||
{scraper.logo && (
|
||||
<Image
|
||||
source={{ uri: scraper.logo }}
|
||||
style={styles.scraperLogo}
|
||||
resizeMode="contain"
|
||||
/>
|
||||
)}
|
||||
<View style={styles.scraperInfo}>
|
||||
<Text style={styles.scraperName}>{scraper.name}</Text>
|
||||
<Text style={styles.scraperDescription}>{scraper.description}</Text>
|
||||
|
|
@ -508,6 +516,12 @@ const styles = StyleSheet.create({
|
|||
borderWidth: 1,
|
||||
borderColor: '#333',
|
||||
},
|
||||
scraperLogo: {
|
||||
width: 40,
|
||||
height: 40,
|
||||
marginRight: 12,
|
||||
borderRadius: 8,
|
||||
},
|
||||
scraperInfo: {
|
||||
flex: 1,
|
||||
marginRight: 16,
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ export interface ScraperInfo {
|
|||
filename: string;
|
||||
supportedTypes: ('movie' | 'tv')[];
|
||||
enabled: boolean;
|
||||
logo?: string;
|
||||
}
|
||||
|
||||
export interface LocalScraperResult {
|
||||
|
|
|
|||
Loading…
Reference in a new issue