diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js index ed5d1264c..6bf395e14 100644 --- a/apps/mobile/src/components/ActionSheetComponent/index.js +++ b/apps/mobile/src/components/ActionSheetComponent/index.js @@ -1,19 +1,18 @@ import React, {createRef, useEffect, useState} from 'react'; import { + ActivityIndicator, Dimensions, StatusBar, Text, TextInput, TouchableOpacity, View, - KeyboardAvoidingView, - ActivityIndicator, } from 'react-native'; - import Share from 'react-native-share'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; import { ACCENT, + COLORS_NOTE, COLOR_SCHEME, COLOR_SCHEME_DARK, COLOR_SCHEME_LIGHT, @@ -23,27 +22,22 @@ import { setColorScheme, SIZE, WEIGHT, - COLORS_NOTE, } from '../../common/common'; import {useTracked} from '../../provider'; import {ACTIONS} from '../../provider/actions'; +import {eSendEvent, openVault} from '../../services/eventManager'; +import {refreshNotesPage} from '../../services/events'; import NavigationService from '../../services/NavigationService'; +import {MMKV} from '../../utils/storage'; import { - timeConverter, - ToastEvent, - DDS, db, + DDS, hexToRGBA, RGB_Linear_Shade, + timeConverter, + ToastEvent, } from '../../utils/utils'; -import {openVault, eSendEvent} from '../../services/eventManager'; -import { - refreshNotesPage, - eOpenPremiumDialog, - eOpenExportDialog, -} from '../../services/events'; import {PremiumTag} from '../Premium/PremiumTag'; -import {MMKV} from '../../utils/storage'; import {PressableButton} from '../PressableButton'; const w = Dimensions.get('window').width; diff --git a/apps/mobile/src/components/DialogManager/index.js b/apps/mobile/src/components/DialogManager/index.js index c9a3c8001..58c2c274f 100644 --- a/apps/mobile/src/components/DialogManager/index.js +++ b/apps/mobile/src/components/DialogManager/index.js @@ -265,6 +265,7 @@ export class DialogManager extends Component { } this.show = null; }; + render() { let {colors} = this.props; diff --git a/apps/mobile/src/components/Menu/ColorSection.js b/apps/mobile/src/components/Menu/ColorSection.js index 0e412fa10..3891e745c 100644 --- a/apps/mobile/src/components/Menu/ColorSection.js +++ b/apps/mobile/src/components/Menu/ColorSection.js @@ -1,12 +1,12 @@ -import React, { useEffect } from 'react'; -import { Text, View } from 'react-native'; -import { COLORS_NOTE, pv, SIZE } from '../../common/common'; -import { useTracked } from '../../provider'; -import { ACTIONS } from '../../provider/actions'; -import { eSendEvent } from '../../services/eventManager'; -import { refreshNotesPage } from '../../services/events'; +import React, {useEffect} from 'react'; +import {Text, View} from 'react-native'; +import {COLORS_NOTE, pv, SIZE} from '../../common/common'; +import {useTracked} from '../../provider'; +import {ACTIONS} from '../../provider/actions'; +import {eSendEvent} from '../../services/eventManager'; +import {refreshNotesPage} from '../../services/events'; import NavigationService from '../../services/NavigationService'; -import { PressableButton } from '../PressableButton'; +import {PressableButton} from '../PressableButton'; export const ColorSection = ({noTextMode}) => { const [state, dispatch] = useTracked(); diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.js index 9f66dc168..0144bcfda 100644 --- a/apps/mobile/src/components/SelectionWrapper/index.js +++ b/apps/mobile/src/components/SelectionWrapper/index.js @@ -1,11 +1,11 @@ -import React, { useEffect, useState } from 'react'; -import { TouchableOpacity, View } from 'react-native'; +import React, {useEffect, useState} from 'react'; +import {TouchableOpacity, View} from 'react-native'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; -import { SIZE } from '../../common/common'; -import { useTracked } from '../../provider'; -import { ACTIONS } from '../../provider/actions'; -import { db, getElevation, ToastEvent } from '../../utils/utils'; -import { PressableButton } from '../PressableButton'; +import {SIZE} from '../../common/common'; +import {useTracked} from '../../provider'; +import {ACTIONS} from '../../provider/actions'; +import {db, getElevation, ToastEvent} from '../../utils/utils'; +import {PressableButton} from '../PressableButton'; const SelectionWrapper = ({ children,