import { Linking, Platform } from 'react-native';

export const dialCall = (number: string) => {
  const phoneNumber = `tel${Platform.OS !== 'android' ? 'prompt' : ''}:$${number}`;
  Linking.openURL(phoneNumber);
};
