Pārlūkot izejas kodu

Fix widget header icon clarity by removing the colored app background.

This keeps the logo clean and readable on the Widgets page.

Made-with: Cursor
huzaifahayat12 3 mēneši atpakaļ
vecāks
revīzija
b65eb83af1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      google_apps/Widgets/WidgetsRootView.swift

+ 1 - 1
google_apps/Widgets/WidgetsRootView.swift

@@ -154,7 +154,7 @@ struct WidgetsRootView: View {
 
     private func header(for app: LauncherApp) -> some View {
         HStack(spacing: 12) {
-            AppIconView(app: app, size: 42, showAppBackground: true, iconPaddingFactor: 0.1)
+            AppIconView(app: app, size: 42, showAppBackground: false, iconPaddingFactor: 0.1)
                 .shadow(color: .black.opacity(0.2), radius: 10, x: 0, y: 6)
             VStack(alignment: .leading, spacing: 3) {
                 Text(app.name)