Skip to content

Commit

Permalink
Merge pull request #2 from larussverris/fix/homeview-ellipsis-color
Browse files Browse the repository at this point in the history
Changed the color of the ellipsis in the home view to white permanently.
  • Loading branch information
larussverris authored Feb 8, 2023
2 parents d9a7ff9 + 683cf91 commit 2246c0c
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 1 deletion.
31 changes: 31 additions & 0 deletions MicroBreaks/Assets.xcassets/Ellipsis.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"images" : [
{
"filename" : "ellipsis 1.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
},
{
"filename" : "ellipsis.svg",
"idiom" : "universal",
"scale" : "1x",
"unassigned" : true
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"compression-type" : "lossless",
"preserves-vector-representation" : true
}
}
11 changes: 11 additions & 0 deletions MicroBreaks/Assets.xcassets/Ellipsis.imageset/ellipsis 1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions MicroBreaks/Assets.xcassets/Ellipsis.imageset/ellipsis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion MicroBreaks/Screens/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ struct HomeView: View {
appDelegate.quitApp()
}
} label: {
Image(systemName: "ellipsis")
Image("Ellipsis")
.foregroundColor(.orange)
.foregroundColor(Color.blue)
}
.menuStyle(.borderlessButton)
.menuIndicator(.hidden)
Expand Down

0 comments on commit 2246c0c

Please sign in to comment.