[Settings > General] Tidy, change icons

This commit is contained in:
Beef 2023-01-11 07:47:25 +00:00
parent 5a0506ea4b
commit 2c013e5d63

View file

@ -35,8 +35,8 @@ export default function General() {
}, },
{ {
label: "Hermes", label: "Hermes",
version: `${debugInfo.hermes.version} ${debugInfo.hermes.buildType} | Bytecode ${debugInfo.hermes.bytecodeVersion}`, version: `${debugInfo.hermes.version} ${debugInfo.hermes.buildType} (Bytecode ${debugInfo.hermes.bytecodeVersion})`,
icon: "ic_badge_staff", icon: "ic_server_security_24px",
}, },
]; ];
@ -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: "Software Development Kit", label: "SDK",
version: debugInfo.os.sdk, version: debugInfo.os.sdk,
icon: "ic_cog_24px" icon: "ic_profile_badge_verified_developer_color"
}] : []), }]),
{ {
label: "Manufacturer", label: "Manufacturer",
version: debugInfo.device.manufacturer, version: debugInfo.device.manufacturer,
@ -67,7 +67,7 @@ export default function General() {
icon: "ic_phonelink_24px" icon: "ic_phonelink_24px"
}, },
{ {
label: RN.Platform.select({android: "Codename", ios: "Machine ID"})!, label: RN.Platform.select({ android: "Codename", ios: "Machine ID" })!,
version: debugInfo.device.codename, version: debugInfo.device.codename,
icon: "ic_compose_24px" icon: "ic_compose_24px"
} }