mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-09 00:23:20 +01:00
improvements
This commit is contained in:
@@ -55,7 +55,7 @@ extension Color {
|
||||
|
||||
var normalized: Color {
|
||||
brightness < 0.5
|
||||
? self.lighter(by: 0.35)
|
||||
? self.lighter(by: 0.5 - brightness)
|
||||
: self.darker(by: brightness - 0.5)
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ extension String {
|
||||
.removeMatches("\\(.*\\)")
|
||||
.removeMatches("- .*")
|
||||
.prefix(30)
|
||||
//.trimmingCharacters(in: .whitespaces)
|
||||
.trimmingCharacters(in: .whitespaces)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user