Added Peer screen (#2484)

better peers
This commit is contained in:
Jamie Pine
2024-05-14 17:48:06 -07:00
committed by GitHub
parent 0ccc038900
commit 1eb98cea67
9 changed files with 89 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
import * as Icons from '@sd/assets/icons';
import { getIcon } from '@sd/assets/util';
// import * as Icons from '@sd/assets/icons';
// import { getIcon } from '@sd/assets/util';
import { HardwareModel } from '@sd/client';
export function hardwareModelToIcon(hardwareModel: HardwareModel) {
@@ -8,6 +8,10 @@ export function hardwareModelToIcon(hardwareModel: HardwareModel) {
return 'Laptop';
case 'MacStudio':
return 'SilverBox';
case 'MacMini':
return 'MiniSilverBox';
case 'Other':
return 'PC';
default:
return 'Laptop';
}