ui changes

This commit is contained in:
tapframe 2025-07-27 18:38:48 +05:30
parent ae66ec1c23
commit 2180453a16

View file

@ -73,7 +73,6 @@ const createStyles = (colors: any) => StyleSheet.create({
justifyContent: 'space-between', justifyContent: 'space-between',
alignItems: 'center', alignItems: 'center',
marginBottom: 16, marginBottom: 16,
paddingHorizontal: 0,
}, },
sectionDescription: { sectionDescription: {
fontSize: 14, fontSize: 14,
@ -87,7 +86,6 @@ const createStyles = (colors: any) => StyleSheet.create({
padding: 32, padding: 32,
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
marginHorizontal: 16,
marginBottom: 24, marginBottom: 24,
shadowColor: '#000', shadowColor: '#000',
shadowOffset: { width: 0, height: 2 }, shadowOffset: { width: 0, height: 2 },
@ -105,7 +103,6 @@ const createStyles = (colors: any) => StyleSheet.create({
alignItems: 'center', alignItems: 'center',
backgroundColor: colors.elevation2, backgroundColor: colors.elevation2,
padding: 12, padding: 12,
marginHorizontal: 16,
marginBottom: 8, marginBottom: 8,
borderRadius: 8, borderRadius: 8,
shadowColor: '#000', shadowColor: '#000',
@ -606,7 +603,7 @@ const ScraperSettingsScreen: React.FC = () => {
</View> </View>
{/* Installed Scrapers */} {/* Installed Scrapers */}
<View style={[!settings.enableLocalScrapers && styles.disabledSection]}> <View style={[styles.section, !settings.enableLocalScrapers && styles.disabledSection]}>
<View style={styles.sectionHeader}> <View style={styles.sectionHeader}>
<Text style={[styles.sectionTitle, !settings.enableLocalScrapers && styles.disabledText]}>Installed Scrapers</Text> <Text style={[styles.sectionTitle, !settings.enableLocalScrapers && styles.disabledText]}>Installed Scrapers</Text>
{installedScrapers.length > 0 && settings.enableLocalScrapers && ( {installedScrapers.length > 0 && settings.enableLocalScrapers && (
@ -697,7 +694,6 @@ const ScraperSettingsScreen: React.FC = () => {
</View> </View>
); );
}; };
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
flex: 1, flex: 1,