From 070eebcfca1a4cec29faada72965cc7c2aee784e Mon Sep 17 00:00:00 2001 From: c3024 Date: Wed, 6 Nov 2024 22:24:26 +0530 Subject: [PATCH] rename param --- src/libs/getPlatform/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/getPlatform/index.ts b/src/libs/getPlatform/index.ts index 423411c4d07a..aedb4610673e 100644 --- a/src/libs/getPlatform/index.ts +++ b/src/libs/getPlatform/index.ts @@ -2,8 +2,8 @@ import * as Browser from '@libs/Browser'; import CONST from '@src/CONST'; import type Platform from './types'; -export default function getPlatform(treatMWebDifferently = false): Platform { - if (treatMWebDifferently && Browser.isMobile()) { +export default function getPlatform(shouldMobileWebBeDistinctFromWeb = false): Platform { + if (shouldMobileWebBeDistinctFromWeb && Browser.isMobile()) { return CONST.PLATFORM.MOBILEWEB; } return CONST.PLATFORM.WEB;