From e21b1c797955a231f2bcf71818e0259fbb6aeba1 Mon Sep 17 00:00:00 2001
From: Runt <qingingrunt2010@qq.com>
Date: Fri, 27 Jun 2025 15:57:25 +0000
Subject: [PATCH] 相机权限

---
 LiveProject/views/TitleBarView.swift |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/LiveProject/views/TitleBarView.swift b/LiveProject/views/TitleBarView.swift
index a58fd40..7cfce53 100644
--- a/LiveProject/views/TitleBarView.swift
+++ b/LiveProject/views/TitleBarView.swift
@@ -12,9 +12,9 @@
     @Environment(\.presentationMode) var presentationMode
     
     var title = ""
-    var imgLeft = "IconBack";
+    var iconBack  = IconBack();
     var imgRight = "";
-    var titleColor = "ColorText"
+    var titleColor = Color.colorText
     
     var body: some View {
         
@@ -24,11 +24,10 @@
                     print("Click back button")
                     self.presentationMode.wrappedValue.dismiss()
                 }) {
-                    Image(imgLeft)
-                        .frame(width: 28,height: 28)
+                    iconBack.stroke(Color.primary, lineWidth: 2.5).frame(width: 18,height: 14)
                 }
                 Spacer()
-                Text(title).foregroundColor(Color.init(titleColor))
+                Text(title).foregroundColor(titleColor)
                     .bold().font(Font.system(size: 16))
                 Spacer()
                 Image(imgRight).frame(width: 28,height: 28)

--
Gitblit v1.9.1