feat: Apply default text styles to ReText
This commit is contained in:
@@ -7,7 +7,8 @@ import TouchableHandler from 'components/TouchableHandler';
|
||||
import TrackPlayer from 'react-native-track-player';
|
||||
import { t } from '@localisation';
|
||||
import useDefaultStyles from 'components/Colors';
|
||||
import Text from 'components/Text';
|
||||
import { Text } from 'components/Typography';
|
||||
|
||||
import Button from 'components/Button';
|
||||
import { THEME_COLOR } from 'CONSTANTS';
|
||||
import DownloadIcon from 'components/DownloadIcon';
|
||||
|
||||
@@ -19,7 +19,7 @@ export default function Player() {
|
||||
const defaultStyles = useDefaultStyles();
|
||||
|
||||
return (
|
||||
<GestureHandlerRootView>
|
||||
<GestureHandlerRootView style={{ flex: 1 }}>
|
||||
<ScrollView contentContainerStyle={styles.inner} style={defaultStyles.view}>
|
||||
<NowPlaying />
|
||||
<ConnectionNotice />
|
||||
|
||||
@@ -9,7 +9,8 @@ import CredentialGenerator from './components/CredentialGenerator';
|
||||
import { THEME_COLOR } from 'CONSTANTS';
|
||||
import { t } from '@localisation';
|
||||
import useDefaultStyles from 'components/Colors';
|
||||
import Text from 'components/Text';
|
||||
import { Text } from 'components/Typography';
|
||||
|
||||
|
||||
export default function SetJellyfinServer() {
|
||||
const defaultStyles = useDefaultStyles();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, { useCallback } from 'react';
|
||||
import Modal from 'components/Modal';
|
||||
import { useNavigation, StackActions, useRoute, RouteProp } from '@react-navigation/native';
|
||||
import { ModalStackParams } from 'screens/types';
|
||||
import { useTypedSelector } from 'store';
|
||||
@@ -10,7 +9,8 @@ import PlayIcon from 'assets/icons/play.svg';
|
||||
import DownloadIcon from 'assets/icons/cloud-down-arrow.svg';
|
||||
import QueueAppendIcon from 'assets/icons/queue-append.svg';
|
||||
import TrashIcon from 'assets/icons/trash.svg';
|
||||
import Text from 'components/Text';
|
||||
import { Text } from 'components/Typography';
|
||||
|
||||
import { WrappableButton, WrappableButtonRow } from 'components/WrappableButtonRow';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { queueTrackForDownload, removeDownloadedTrack } from 'store/downloads/actions';
|
||||
|
||||
Reference in New Issue
Block a user