Skip to content

Commit

Permalink
rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
c3024 committed Nov 6, 2024
1 parent 44caeb1 commit 070eebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/getPlatform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 070eebc

Please sign in to comment.