import React from 'react'; import {ActivityIndicator, StyleSheet, View} from 'react-native'; import {useTracked} from '../../provider'; import {DDS} from '../../services/DeviceDetection'; import NavigationService from '../../services/Navigation'; import {dWidth} from '../../utils'; import {SIZE} from '../../utils/SizeUtils'; import {ActionIcon} from '../ActionIcon'; import {Button} from '../Button'; export const HeaderRightMenu = () => { const [state] = useTracked(); const {colors, containerBottomButton, currentScreen, syncing} = state; return ( {syncing && } { NavigationService.navigate('Search'); }} name="magnify" size={SIZE.xxxl} color={colors.pri} customStyle={styles.rightBtn} /> {DDS.isLargeTablet() && containerBottomButton.onPress ? (