Skip to content

Commit

Permalink
PRFB: 484 Account storage alert (#605)
Browse files Browse the repository at this point in the history
#484

Potential fix for the issue regarding labels not visible on the alert buttons.
It could be due to the use of folders with namespace in the Xcode color assets.
  • Loading branch information
jeden authored Nov 29, 2024
1 parent f41c578 commit 131fd4c
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 19 deletions.
3 changes: 0 additions & 3 deletions FRW/Resource/Colors.xcassets/Button/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
3 changes: 0 additions & 3 deletions FRW/Resource/Colors.xcassets/Button/elevated/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
8 changes: 4 additions & 4 deletions FRW/UI/Extension/Color.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,18 @@ extension Color {
static let send = Color("button.send")

enum Elevated {
static let text = Color("button/elevated/text")
static let text = Color("button.elevated.text")
enum Secondary {
static let background = Color("button/elevated/secondary/background")
static let background = Color("button.elevated.secondary.background")
}
}

enum Primary {
static let text = Color("button/primary/text")
static let text = Color("button.primary.text")
}

enum Warning {
static let background = Color("button/warning/background")
static let background = Color("button.warning.background")
}
}

Expand Down

0 comments on commit 131fd4c

Please sign in to comment.