From 8a0f384c768666f2e1f7d27dad83c2139ffa3c96 Mon Sep 17 00:00:00 2001 From: Jack Matthews Date: Wed, 11 Jan 2023 03:08:39 -0500 Subject: [PATCH] [Settings > General] Fix conditional inclusion of SDK info --- src/ui/settings/pages/General.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/settings/pages/General.tsx b/src/ui/settings/pages/General.tsx index 0526d85..234bf1b 100644 --- a/src/ui/settings/pages/General.tsx +++ b/src/ui/settings/pages/General.tsx @@ -46,11 +46,11 @@ export default function General() { version: `${debugInfo.os.name} ${debugInfo.os.version}`, icon: "ic_cog_24px" }, - ...(debugInfo.os.sdk && [{ + ...(debugInfo.os.sdk ? [{ label: "SDK", version: debugInfo.os.sdk, icon: "ic_profile_badge_verified_developer_color" - }]), + }] : []), { label: "Manufacturer", version: debugInfo.device.manufacturer,