Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderRedYT committed Nov 18, 2024
1 parent e75cdc4 commit 10db872
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 10 additions & 1 deletion src/views/navigation/screens/DebugGroup/DebugScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { FC } from 'react';
import { useCallback, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Box } from 'react-native-flex-layout';
import { Appbar, IconButton, List, useTheme } from 'react-native-paper';
import { Appbar, IconButton, List, Text, useTheme } from 'react-native-paper';
import Toast from 'react-native-toast-message';

import { ScrollView, View } from 'react-native';
Expand Down Expand Up @@ -195,6 +195,15 @@ const DebugScreen: FC<PropsWithNavigation> = ({ navigation }) => {
left={props => <List.Icon {...props} icon="alert" />}
/>
</List.Section>
<List.Section title={t('settings.theme')}>
<Text
style={{
fontFamily: 'monospace',
}}
>
{JSON.stringify(theme, null, 2)}
</Text>
</List.Section>
<View style={{ height: spacing * 2 }} />
</ScrollView>
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,7 @@ const ConfigureGraphsScreen: FC<PropsWithNavigation> = ({ navigation }) => {
<Box style={{ width: '100%', flex: 1 }}>
<Box
style={{
borderWidth: 1,
borderColor: theme.colors.outline,
borderRadius: theme.roundness,
borderRadius: theme.roundness * 6,
padding: 16,
margin: 8,
backgroundColor: theme.colors.elevation.level3,
Expand Down Expand Up @@ -248,9 +246,7 @@ const ConfigureGraphsScreen: FC<PropsWithNavigation> = ({ navigation }) => {
</Box>
<Box
style={{
borderWidth: 1,
borderColor: theme.colors.outline,
borderRadius: theme.roundness,
borderRadius: theme.roundness * 6,
padding: 16,
margin: 8,
backgroundColor: theme.colors.elevation.level3,
Expand Down

0 comments on commit 10db872

Please sign in to comment.