[Gekidou] Add Draft Upload Manager (#5910)

* Add Draft Upload Manager

* Address feedback

* Use callbacks instead of events and add byteCount

* Address feedback
This commit is contained in:
Daniel Espino García
2022-02-01 17:26:26 +01:00
committed by GitHub
parent c9ca9fa093
commit bebfccb964
22 changed files with 320 additions and 18 deletions

View File

@@ -4,9 +4,9 @@
import React from 'react';
import {StyleProp, View, ViewStyle} from 'react-native';
import {typography} from '@app/utils/typography';
import FormattedText from '@components/formatted_text';
import {makeStyleSheetFromTheme} from '@utils/theme';
import {typography} from '@utils/typography';
type NewMessagesLineProps = {
moreMessages: boolean;

View File

@@ -4,13 +4,13 @@
import React from 'react';
import {View} from 'react-native';
import {typography} from '@app/utils/typography';
import CustomStatusEmoji from '@components/custom_status/custom_status_emoji';
import FormattedTime from '@components/formatted_time';
import {CHANNEL, THREAD} from '@constants/screens';
import {useTheme} from '@context/theme';
import {postUserDisplayName} from '@utils/post';
import {makeStyleSheetFromTheme} from '@utils/theme';
import {typography} from '@utils/typography';
import {displayUsername, getUserCustomStatus, getUserTimezone, isCustomStatusExpired} from '@utils/user';
import HeaderCommentedOn from './commented_on';