From acf8e83cbf106b4350536d54eb46379dd86a623c Mon Sep 17 00:00:00 2001 From: Runt <qingingrunt2010@qq.com> Date: Fri, 04 Jul 2025 17:05:00 +0000 Subject: [PATCH] 输入弹框 图标修改 相机调整 --- LiveProject/data/DeviceInfo.swift | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/LiveProject/data/DeviceInfo.swift b/LiveProject/data/DeviceInfo.swift index e69de29..ff6bf3f 100644 --- a/LiveProject/data/DeviceInfo.swift +++ b/LiveProject/data/DeviceInfo.swift @@ -0,0 +1,22 @@ +// +// DeviceInfo.swift +// LiveProject +// +// Created by 倪路朋 on 6/26/25. +// +import SwiftUI + +struct DeviceInfo : Hashable { + let name:String + let type:StreamType + let deviceId:String; + var icon : IconInfo? = nil; + + func hash(into hasher: inout Hasher){ + hasher.combine(deviceId) + } + + static func == (lhs: DeviceInfo, rhs: DeviceInfo) -> Bool { + lhs.deviceId == rhs.deviceId + } +} -- Gitblit v1.9.1