[Settings > General] Fix conditional inclusion of SDK info
This commit is contained in:
parent
2c013e5d63
commit
8a0f384c76
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ export default function General() {
|
||||||
version: `${debugInfo.os.name} ${debugInfo.os.version}`,
|
version: `${debugInfo.os.name} ${debugInfo.os.version}`,
|
||||||
icon: "ic_cog_24px"
|
icon: "ic_cog_24px"
|
||||||
},
|
},
|
||||||
...(debugInfo.os.sdk && [{
|
...(debugInfo.os.sdk ? [{
|
||||||
label: "SDK",
|
label: "SDK",
|
||||||
version: debugInfo.os.sdk,
|
version: debugInfo.os.sdk,
|
||||||
icon: "ic_profile_badge_verified_developer_color"
|
icon: "ic_profile_badge_verified_developer_color"
|
||||||
}]),
|
}] : []),
|
||||||
{
|
{
|
||||||
label: "Manufacturer",
|
label: "Manufacturer",
|
||||||
version: debugInfo.device.manufacturer,
|
version: debugInfo.device.manufacturer,
|
||||||
|
|
Loading…
Reference in a new issue