mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
parent
420827b6c4
commit
983bc77689
@ -1,18 +1,20 @@
|
||||
import moment from 'moment';
|
||||
import React, { Fragment, useRef, useState } from 'react';
|
||||
import React, { useState, Fragment, useRef } from 'react';
|
||||
import { View, Text, ActivityIndicator, SafeAreaView, Dimensions } from 'react-native';
|
||||
import { injectIntl } from 'react-intl';
|
||||
import { ActivityIndicator, SafeAreaView, Text, View } from 'react-native';
|
||||
import { useSelector } from 'react-redux';
|
||||
import moment from 'moment';
|
||||
|
||||
// Components
|
||||
import { BeneficiaryModal, Modal, TextButton } from '../..';
|
||||
import { OptionsModal } from '../../atoms';
|
||||
import { DateTimePicker } from '../../dateTimePicker';
|
||||
import { DropdownButton } from '../../dropdownButton';
|
||||
import { TextButton, Modal, BeneficiaryModal } from '../..';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import { DropdownButton } from '../../dropdownButton';
|
||||
import { TextInput } from '../../textInput';
|
||||
import { DateTimePicker } from '../../dateTimePicker';
|
||||
|
||||
// Constants
|
||||
// Styles
|
||||
import styles from './basicHeaderStyles';
|
||||
import { OptionsModal } from '../../atoms';
|
||||
|
||||
const BasicHeaderView = ({
|
||||
disabled,
|
||||
|
@ -1,11 +1,13 @@
|
||||
/* eslint-disable radix */
|
||||
import times from 'lodash/times';
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import { Dimensions, View } from 'react-native';
|
||||
import times from 'lodash/times';
|
||||
import Placeholder from 'rn-placeholder';
|
||||
|
||||
import { ThemeContainer } from '../../../../containers';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
import styles from './boostPlaceHolderStyles';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
const HEIGHT = getWindowDimensions().height;
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
/* eslint-disable radix */
|
||||
import times from 'lodash/times';
|
||||
import React, { Fragment } from 'react';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
import { Dimensions } from 'react-native';
|
||||
import times from 'lodash/times';
|
||||
|
||||
import ListItemPlaceHolder from './listItemPlaceHolderView';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
const HEIGHT = getWindowDimensions().height;
|
||||
|
||||
|
@ -1,9 +1,12 @@
|
||||
import LottieView from 'lottie-react-native';
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import { View, Dimensions } from 'react-native';
|
||||
import Placeholder from 'rn-placeholder';
|
||||
|
||||
import LottieView from 'lottie-react-native';
|
||||
import { ThemeContainer } from '../../../../containers';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
import styles from './postCardPlaceHolderStyles';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
// TODO: make container for place holder wrapper after alpha
|
||||
const PostCardPlaceHolder = () => {
|
||||
|
@ -1,8 +1,11 @@
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import { View, Dimensions } from 'react-native';
|
||||
import Placeholder from 'rn-placeholder';
|
||||
|
||||
import LottieView from 'lottie-react-native';
|
||||
import { ThemeContainer } from '../../../../containers';
|
||||
|
||||
import styles from './postCardPlaceHolderStyles';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
const PostPlaceHolder = () => {
|
||||
|
@ -1,11 +1,13 @@
|
||||
/* eslint-disable radix */
|
||||
import times from 'lodash/times';
|
||||
import React, { Fragment } from 'react';
|
||||
import { View } from 'react-native';
|
||||
import { View, Dimensions } from 'react-native';
|
||||
import Placeholder from 'rn-placeholder';
|
||||
import times from 'lodash/times';
|
||||
|
||||
import { ThemeContainer } from '../../../../containers';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
import styles from './walletDetailsPlaceHolderStyles';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
const HEIGHT = getWindowDimensions().height;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ImageStyle, TextStyle, ViewStyle } from 'react-native';
|
||||
import { TextStyle, StyleSheet, ViewStyle, ImageStyle, Dimensions } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
|
@ -1,19 +1,22 @@
|
||||
import React, { Fragment, useEffect, useRef, useState } from 'react';
|
||||
import React, { useRef, useState, useEffect, Fragment } from 'react';
|
||||
import { View, Text, TouchableOpacity, Dimensions } from 'react-native';
|
||||
import { injectIntl } from 'react-intl';
|
||||
import { Text, TouchableOpacity, View } from 'react-native';
|
||||
import ImageSize from 'react-native-image-size';
|
||||
import { ScheduledPostStatus } from '../../../providers/ecency/ecency.types';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
// Utils
|
||||
import { getTimeFromNow } from '../../../utils/time';
|
||||
import { OptionsModal } from '../../atoms';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import { PopoverWrapper } from '../../popoverWrapper/popoverWrapperView';
|
||||
|
||||
// Components
|
||||
import { PostHeaderDescription } from '../../postElements';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import ProgressiveImage from '../../progressiveImage';
|
||||
import { OptionsModal } from '../../atoms';
|
||||
|
||||
// Styles
|
||||
import styles from './draftListItemStyles';
|
||||
import { ScheduledPostStatus } from '../../../providers/ecency/ecency.types';
|
||||
import { PopoverWrapper } from '../../popoverWrapper/popoverWrapperView';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
// Defaults
|
||||
const DEFAULT_IMAGE =
|
||||
|
@ -1,6 +1,9 @@
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { Dimensions } from 'react-native';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
const deviceWidth = getWindowDimensions().width;
|
||||
|
||||
export default EStyleSheet.create({
|
||||
container: {
|
||||
justifyContent: 'center',
|
||||
|
@ -1,23 +1,25 @@
|
||||
import { renderPostBody } from '@ecency/render-helper';
|
||||
import Clipboard from '@react-native-clipboard/clipboard';
|
||||
import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import {
|
||||
ActivityIndicator, Platform,
|
||||
Platform,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
View
|
||||
View,
|
||||
ActivityIndicator,
|
||||
Dimensions,
|
||||
} from 'react-native';
|
||||
import { MainButton, PostBody, TextButton } from '..';
|
||||
import styles from './insertLinkModalStyles';
|
||||
import ActionSheet from 'react-native-actions-sheet';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { ScrollView } from 'react-native-gesture-handler';
|
||||
import { MainButton, PostBody, TextButton } from '..';
|
||||
import { delay } from '../../utils/editor';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
import applyWebLinkFormat from '../markdownEditor/view/formats/applyWebLinkFormat';
|
||||
import { isStringWebLink } from '../markdownEditor/view/formats/utils';
|
||||
import TextInput from '../textInput';
|
||||
import styles from './insertLinkModalStyles';
|
||||
import { delay } from '../../utils/editor';
|
||||
import { isStringWebLink } from '../markdownEditor/view/formats/utils';
|
||||
import { renderPostBody } from '@ecency/render-helper';
|
||||
import { ScrollView } from 'react-native-gesture-handler';
|
||||
import applyWebLinkFormat from '../markdownEditor/view/formats/applyWebLinkFormat';
|
||||
import Clipboard from '@react-native-clipboard/clipboard';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
interface InsertLinkModalProps {
|
||||
handleOnInsertLink: ({
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ViewStyle } from 'react-native';
|
||||
import { ViewStyle, Dimensions } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
|
@ -1,8 +1,11 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { Text, View } from 'react-native';
|
||||
import { View, Dimensions, Text } from 'react-native';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
// Constants
|
||||
|
||||
// Components
|
||||
|
||||
// Styles
|
||||
import styles from './percentBarStyles';
|
||||
|
||||
|
@ -1,22 +1,25 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import get from 'lodash/get';
|
||||
import React, { useState } from 'react';
|
||||
import { TouchableOpacity, Text, View, Dimensions } from 'react-native';
|
||||
import { injectIntl } from 'react-intl';
|
||||
import { Text, TouchableOpacity, View } from 'react-native';
|
||||
|
||||
// Utils
|
||||
import FastImage from 'react-native-fast-image';
|
||||
import { TextButton } from '../..';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
import { getTimeFromNow } from '../../../utils/time';
|
||||
import { TextWithIcon } from '../../basicUIElements';
|
||||
import { Icon } from '../../icon';
|
||||
import { PostDropdown } from '../../postDropdown';
|
||||
//import bugsnagInstance from '../../../config/bugsnag';
|
||||
|
||||
// Components
|
||||
import { PostHeaderDescription } from '../../postElements';
|
||||
import { PostDropdown } from '../../postDropdown';
|
||||
import { TextWithIcon } from '../../basicUIElements';
|
||||
import { Icon } from '../../icon';
|
||||
|
||||
// STEEM
|
||||
import { Upvote } from '../../upvote';
|
||||
// Styles
|
||||
import styles from './postCardStyles';
|
||||
import { TextButton } from '../..';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
const dim = getWindowDimensions();
|
||||
const DEFAULT_IMAGE =
|
||||
|
@ -1,32 +1,33 @@
|
||||
import CameraRoll from '@react-native-community/cameraroll';
|
||||
import React, { Fragment, useCallback, useRef, useState } from 'react';
|
||||
import React, { Fragment, useState, useRef } from 'react';
|
||||
import { Linking, Modal, PermissionsAndroid, Platform, View, Dimensions } from 'react-native';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { Linking, Modal, PermissionsAndroid, Platform, View } from 'react-native';
|
||||
import CameraRoll from '@react-native-community/cameraroll';
|
||||
import RNFetchBlob from 'rn-fetch-blob';
|
||||
import ImageViewer from 'react-native-image-zoom-viewer';
|
||||
import ActionsSheetView from 'react-native-actions-sheet';
|
||||
|
||||
// import AutoHeightWebView from 'react-native-autoheight-webview';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { LongPressGestureHandler, State } from 'react-native-gesture-handler';
|
||||
import ImageViewer from 'react-native-image-zoom-viewer';
|
||||
import RNFetchBlob from 'rn-fetch-blob';
|
||||
import { PostHtmlRenderer, TextButton, VideoPlayer } from '../../..';
|
||||
import { GLOBAL_POST_FILTERS_VALUE } from '../../../../constants/options/filters';
|
||||
import { navigate } from '../../../../navigation/service';
|
||||
|
||||
// Constants
|
||||
import { default as ROUTES } from '../../../../constants/routeNames';
|
||||
import { useAppDispatch } from '../../../../hooks';
|
||||
import { navigate } from '../../../../navigation/service';
|
||||
import { toastNotification } from '../../../../redux/actions/uiAction';
|
||||
// Services and Actions
|
||||
import { writeToClipboard } from '../../../../utils/clipboard';
|
||||
import { isCommunity } from '../../../../utils/communityValidation';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
import { OptionsModal } from '../../../atoms';
|
||||
|
||||
import { PostHtmlRenderer, TextButton, VideoPlayer } from '../../..';
|
||||
|
||||
// Styles
|
||||
import styles from './commentBodyStyles';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Services and Actions
|
||||
import { writeToClipboard } from '../../../../utils/clipboard';
|
||||
import { toastNotification } from '../../../../redux/actions/uiAction';
|
||||
import { LongPressGestureHandler, State } from 'react-native-gesture-handler';
|
||||
import { useCallback } from 'react';
|
||||
import { OptionsModal } from '../../../atoms';
|
||||
import { useAppDispatch } from '../../../../hooks';
|
||||
import { isCommunity } from '../../../../utils/communityValidation';
|
||||
import { GLOBAL_POST_FILTERS_VALUE } from '../../../../constants/options/filters';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
const WIDTH = getWindowDimensions().width;
|
||||
|
||||
|
@ -1,23 +1,25 @@
|
||||
import React, { Fragment, useState, useEffect, useRef } from 'react';
|
||||
import { Dimensions, Linking, Modal, PermissionsAndroid, Platform, View } from 'react-native';
|
||||
import CameraRoll from '@react-native-community/cameraroll';
|
||||
import React, { Fragment, useEffect, useRef, useState } from 'react';
|
||||
import { injectIntl, useIntl } from 'react-intl';
|
||||
import { Linking, Modal, PermissionsAndroid, Platform, View } from 'react-native';
|
||||
import ActionSheetView from 'react-native-actions-sheet';
|
||||
import { withNavigation } from 'react-navigation';
|
||||
import { useIntl, injectIntl } from 'react-intl';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import ImageViewer from 'react-native-image-zoom-viewer';
|
||||
import { withNavigation } from 'react-navigation';
|
||||
import { connect } from 'react-redux';
|
||||
import RNFetchBlob from 'rn-fetch-blob';
|
||||
import { PostHtmlRenderer, VideoPlayer } from '../../..';
|
||||
import { GLOBAL_POST_FILTERS_VALUE } from '../../../../constants/options/filters';
|
||||
// Constants
|
||||
import { default as ROUTES } from '../../../../constants/routeNames';
|
||||
import { toastNotification } from '../../../../redux/actions/uiAction';
|
||||
import ActionSheetView from 'react-native-actions-sheet';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
// Services and Actions
|
||||
import { writeToClipboard } from '../../../../utils/clipboard';
|
||||
import { isCommunity } from '../../../../utils/communityValidation';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
import { toastNotification } from '../../../../redux/actions/uiAction';
|
||||
|
||||
// Constants
|
||||
import { default as ROUTES } from '../../../../constants/routeNames';
|
||||
import { OptionsModal } from '../../../atoms';
|
||||
import { isCommunity } from '../../../../utils/communityValidation';
|
||||
import { GLOBAL_POST_FILTERS_VALUE } from '../../../../constants/options/filters';
|
||||
import { PostHtmlRenderer, VideoPlayer } from '../../..';
|
||||
import getWindowDimensions from '../../../../utils/getWindowDimensions';
|
||||
|
||||
const WIDTH = getWindowDimensions().width;
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { Dimensions } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
|
@ -1,23 +1,29 @@
|
||||
import get from 'lodash/get';
|
||||
import React, { Fragment, useCallback, useEffect, useRef, useState } from 'react';
|
||||
import React, { useCallback, useEffect, useRef, useState, Fragment } from 'react';
|
||||
import { View, Text, ScrollView, Dimensions, SafeAreaView, RefreshControl } from 'react-native';
|
||||
import { injectIntl } from 'react-intl';
|
||||
import { RefreshControl, ScrollView, Text, View } from 'react-native';
|
||||
import get from 'lodash/get';
|
||||
|
||||
// Providers
|
||||
import { useSelector } from 'react-redux';
|
||||
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
||||
import { QuickReplyModal } from '../..';
|
||||
import { userActivity } from '../../../providers/ecency/ePoint';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
// Utils
|
||||
import { getTimeFromNow } from '../../../utils/time';
|
||||
import { OptionsModal } from '../../atoms';
|
||||
import { NoPost, PostPlaceHolder, StickyBar, TextWithIcon } from '../../basicUIElements';
|
||||
import { CommentsDisplay } from '../../commentsDisplay';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import { ParentPost } from '../../parentPost';
|
||||
|
||||
// Components
|
||||
import { PostBody, PostHeaderDescription, Tags } from '../../postElements';
|
||||
import { PostHeaderDescription, PostBody, Tags } from '../../postElements';
|
||||
import { PostPlaceHolder, StickyBar, TextWithIcon, NoPost } from '../../basicUIElements';
|
||||
import { Upvote } from '../../upvote';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import { CommentsDisplay } from '../../commentsDisplay';
|
||||
import { ParentPost } from '../../parentPost';
|
||||
|
||||
// Styles
|
||||
import styles from './postDisplayStyles';
|
||||
import { OptionsModal } from '../../atoms';
|
||||
import { QuickReplyModal } from '../..';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
const HEIGHT = getWindowDimensions().height;
|
||||
const WIDTH = getWindowDimensions().width;
|
||||
|
@ -1,20 +1,37 @@
|
||||
import React, { PureComponent, Fragment } from 'react';
|
||||
import {
|
||||
View,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
Dimensions,
|
||||
ActivityIndicator,
|
||||
Linking,
|
||||
Alert,
|
||||
Platform,
|
||||
} from 'react-native';
|
||||
import get from 'lodash/get';
|
||||
import React, { Fragment, PureComponent } from 'react';
|
||||
import { ActivityIndicator, Alert, Linking, Text, TouchableOpacity, View } from 'react-native';
|
||||
|
||||
// Constants
|
||||
import FastImage from 'react-native-fast-image';
|
||||
import DARK_COVER_IMAGE from '../../../assets/dark_cover_image.png';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import LIGHT_COVER_IMAGE from '../../../assets/default_cover_image.png';
|
||||
// Utils
|
||||
import { makeCountFriendly } from '../../../utils/formatter';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
import { getCoverImageUrl } from '../../../utils/image';
|
||||
import DARK_COVER_IMAGE from '../../../assets/dark_cover_image.png';
|
||||
|
||||
// Components
|
||||
import { TextWithIcon } from '../../basicUIElements';
|
||||
import { DropdownButton } from '../../dropdownButton';
|
||||
import { PercentBar } from '../../percentBar';
|
||||
import { IconButton } from '../../iconButton';
|
||||
import { DropdownButton } from '../../dropdownButton';
|
||||
|
||||
// Utils
|
||||
import { makeCountFriendly } from '../../../utils/formatter';
|
||||
import { getCoverImageUrl } from '../../../utils/image';
|
||||
|
||||
// Styles
|
||||
import styles from './profileSummaryStyles';
|
||||
import { TextButton } from '../../buttons';
|
||||
import { Icon } from '../..';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
const DEVICE_WIDTH = getWindowDimensions().width;
|
||||
|
||||
|
@ -1,16 +1,18 @@
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { ActivityIndicator, Alert, PermissionsAndroid, Platform, View } from 'react-native';
|
||||
import { ActivityIndicator, Alert, PermissionsAndroid, Platform, Text, View } from 'react-native';
|
||||
import ActionSheet from 'react-native-actions-sheet';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { check, openSettings, PERMISSIONS, request, RESULTS } from 'react-native-permissions';
|
||||
import QRCodeScanner from 'react-native-qrcode-scanner';
|
||||
import { useAppDispatch, useAppSelector } from '../../hooks';
|
||||
import { navigate } from '../../navigation/service';
|
||||
import { toggleQRModal } from '../../redux/actions/uiAction';
|
||||
import { deepLinkParser } from '../../utils/deepLinkParser';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
import styles from './qrModalStyles';
|
||||
import { useAppDispatch, useAppSelector } from '../../hooks';
|
||||
import { toggleQRModal } from '../../redux/actions/uiAction';
|
||||
import QRCodeScanner from 'react-native-qrcode-scanner';
|
||||
import { deepLinkParser } from '../../utils/deepLinkParser';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { navigate } from '../../navigation/service';
|
||||
import { Icon } from '..';
|
||||
import { Dimensions } from 'react-native';
|
||||
import { check, request, PERMISSIONS, RESULTS, openSettings } from 'react-native-permissions';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
export interface QRModalProps {}
|
||||
|
||||
|
@ -1,10 +1,11 @@
|
||||
/* eslint-disable react/no-unused-state */
|
||||
import React, { Component } from 'react';
|
||||
import { View, Dimensions, Text } from 'react-native';
|
||||
import MultiSlider from '@esteemapp/react-native-multi-slider';
|
||||
import get from 'lodash/get';
|
||||
import React, { Component } from 'react';
|
||||
import { Text, View } from 'react-native';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
import styles from './scaleSliderStyles';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
export default class ScaleSliderView extends Component {
|
||||
constructor(props) {
|
||||
|
@ -1,16 +1,18 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import {
|
||||
Animated,
|
||||
Dimensions,
|
||||
Platform,
|
||||
Text,
|
||||
View,
|
||||
Animated,
|
||||
TouchableNativeFeedback,
|
||||
TouchableOpacity,
|
||||
View,
|
||||
Platform,
|
||||
Dimensions,
|
||||
} from 'react-native';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
// Styles
|
||||
import styles from './tabBarStyles';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
class TabBar extends PureComponent {
|
||||
/* Props
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ImageStyle, StyleSheet, TextStyle, ViewStyle } from 'react-native';
|
||||
import { TextStyle, StyleSheet, ViewStyle, Dimensions, ImageStyle } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
|
@ -1,10 +1,11 @@
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { ActivityIndicator, StyleSheet, View } from 'react-native';
|
||||
import MediaControls, { PLAYER_STATES } from 'react-native-media-controls';
|
||||
import Orientation from 'react-native-orientation-locker';
|
||||
import Video from 'react-native-video';
|
||||
import React, { useState, useRef, useEffect } from 'react';
|
||||
import { Dimensions } from 'react-native';
|
||||
import { View, StyleSheet, ActivityIndicator } from 'react-native';
|
||||
import WebView from 'react-native-webview';
|
||||
import YoutubeIframe, { InitialPlayerParams } from 'react-native-youtube-iframe';
|
||||
import Video from 'react-native-video';
|
||||
import MediaControls, { PLAYER_STATES } from 'react-native-media-controls';
|
||||
import Orientation from 'react-native-orientation-locker';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
|
||||
|
@ -1,15 +1,17 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { OrientationLocker, PORTRAIT } from 'react-native-orientation-locker';
|
||||
import React, { Fragment, useEffect, useState } from 'react';
|
||||
import { Dimensions } from 'react-native';
|
||||
import SplashScreen from 'react-native-splash-screen';
|
||||
|
||||
import { OrientationLocker, PORTRAIT, LANDSCAPE } from 'react-native-orientation-locker';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { Modal } from '../../components';
|
||||
import { setDeviceOrientation } from '../../redux/actions/uiAction';
|
||||
import LaunchScreen from '../launch';
|
||||
import { PinCode } from '../pinCode';
|
||||
import ApplicationContainer from './container/applicationContainer';
|
||||
import ApplicationScreen from './screen/applicationScreen';
|
||||
import ErrorBoundary from './screen/errorBoundary';
|
||||
import WelcomeScreen from './screen/welcomeScreen';
|
||||
import ApplicationScreen from './screen/applicationScreen';
|
||||
import LaunchScreen from '../launch';
|
||||
import { Modal } from '../../components';
|
||||
import { PinCode } from '../pinCode';
|
||||
import ErrorBoundary from './screen/errorBoundary';
|
||||
import { setDeviceOrientation } from '../../redux/actions/uiAction';
|
||||
|
||||
const Application = () => {
|
||||
const dispatch = useDispatch();
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Platform } from 'react-native';
|
||||
import { Dimensions, Platform } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
import scalePx from '../../../utils/scalePx';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React, { useState } from 'react';
|
||||
import { View } from 'react-native';
|
||||
import React, { useState, useEffect } from 'react'
|
||||
import { View, Dimensions } from 'react-native'
|
||||
import { RangeSelector } from '.';
|
||||
import { SimpleChart } from '../../../components';
|
||||
import { SimpleChart } from '../../../components'
|
||||
import { useAppSelector } from '../../../hooks';
|
||||
import { fetchMarketChart } from '../../../providers/coingecko/coingecko';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
@ -1,22 +1,25 @@
|
||||
import React, { Fragment, useEffect, useState } from 'react';
|
||||
import React, { Fragment } from 'react';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import {
|
||||
Alert, FlatList,
|
||||
Alert,
|
||||
Dimensions,
|
||||
FlatList,
|
||||
ScrollView,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
View
|
||||
View,
|
||||
} from 'react-native';
|
||||
import AutoHeightWebView from 'react-native-autoheight-webview';
|
||||
import { BasicHeader, Icon, PostPlaceHolder, TextInput } from '../../components';
|
||||
|
||||
// styles
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { BasicHeader, Icon, PostPlaceHolder, TextInput } from '../../components';
|
||||
import { getCommentHistory } from '../../providers/ecency/ecency';
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
import { dateToFormatted } from '../../utils/time';
|
||||
import styles from './editHistoryScreenStyles';
|
||||
import { getCommentHistory } from '../../providers/ecency/ecency';
|
||||
import { dateToFormatted } from '../../utils/time';
|
||||
import AutoHeightWebView from 'react-native-autoheight-webview';
|
||||
import historyBuilder from './historyBuilder';
|
||||
|
||||
import getWindowDimensions from '../../utils/getWindowDimensions';
|
||||
|
||||
export interface CommentHistoryListItemDiff {
|
||||
title: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ImageStyle, StyleSheet, TextStyle, ViewStyle } from 'react-native';
|
||||
import { TextStyle, StyleSheet, ViewStyle, Dimensions, ImageStyle } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { View, Text, Dimensions, TouchableOpacity, ActivityIndicator } from 'react-native';
|
||||
import React, { ComponentType, Fragment, useEffect, useState } from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { ActivityIndicator, Text, TouchableOpacity, View } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import { Icon, MainButton, SimpleChart } from '../../../components';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
import styles from './children.styles';
|
||||
import { Icon, MainButton, SimpleChart } from '../../../components';
|
||||
import { useIntl } from 'react-intl';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
import getWindowDimensions from '../../../utils/getWindowDimensions';
|
||||
|
||||
export interface CoinCardProps {
|
||||
id: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Platform, StatusBar } from 'react-native';
|
||||
import { Dimensions, Platform, StatusBar } from 'react-native';
|
||||
import getWindowDimensions from '../utils/getWindowDimensions';
|
||||
|
||||
export default {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Platform, StatusBar } from 'react-native';
|
||||
import { Dimensions, Platform, StatusBar } from 'react-native';
|
||||
import getWindowDimensions from '../utils/getWindowDimensions';
|
||||
|
||||
export default {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { PixelRatio, Platform } from 'react-native';
|
||||
import { Dimensions, PixelRatio, Platform } from 'react-native';
|
||||
import getWindowDimensions from './getWindowDimensions';
|
||||
|
||||
const { width: SCREEN_WIDTH } = getWindowDimensions();
|
||||
|
@ -8914,9 +8914,9 @@ react-native-os@^1.0.1:
|
||||
integrity sha512-OlT+xQAcvkcnf7imgXiu+myMkqDt4xw2bP5SlVo19hEn5XHBkPMLX7dk3sSGxxncH/ToMDsf1KLyrPabNVtadA==
|
||||
|
||||
react-native-pager-view@^5.4.22:
|
||||
version "5.4.24"
|
||||
resolved "https://registry.yarnpkg.com/react-native-pager-view/-/react-native-pager-view-5.4.24.tgz#8626e757ddc55e41eca66d2f8a8a75aec54591ee"
|
||||
integrity sha512-dRMB7i3B+mu4NCeIN6gqbR/kC/rr2wzqO0gisXDdJwJr78G24sWoTNpLEDFo3G8TFHY9nTMutVl5CUvkN2dp6g==
|
||||
version "5.4.22"
|
||||
resolved "https://registry.yarnpkg.com/react-native-pager-view/-/react-native-pager-view-5.4.22.tgz#6a987274761f75fa018254756744004e20326d83"
|
||||
integrity sha512-9+LjgK+iOiWJJt3Zj7i8Vwarkg9dvVCm8LxrWZFzOzwjtCcQ6K4YrlbPZ5EOb5aFDcMH+eKAty0OQoUIM9n2vA==
|
||||
|
||||
react-native-permissions@^2.0.2:
|
||||
version "2.2.2"
|
||||
|
Loading…
Reference in New Issue
Block a user