diff --git a/src/utils/common.js b/src/utils/common.js index 9ff30e13..538fb7e8 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -1,15 +1,15 @@ export const formatOS = (os) => { - if (os.startsWith("windows 10")) { - return "Windows 10"; - } - if (os.startsWith("Darwin")) { return os.replace("Darwin", "MacOS"); } - // capitalize first letter - os = os.charAt(0).toUpperCase() + os.slice(1); + + if (!os.startsWith("iOS")) { + // capitalize first letter + os = os.charAt(0).toUpperCase() + os.slice(1); + } + return os; };