[Settings > General] Fix conditional inclusion of SDK info

This commit is contained in:
Jack Matthews 2023-01-11 03:08:39 -05:00 committed by Beef
parent 2c013e5d63
commit 8a0f384c76

View file

@ -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,