Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unify font icon size in difference style #4058

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/logic/Appearance.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ class Appearance {
switch currentSize {
case .small:
rowsCount = isHorizontalScreen ? 5 : 8
iconSize = 20
fontHeight = 12
iconSize = 23
fontHeight = 13
case .medium:
rowsCount = isHorizontalScreen ? 4 : 7
iconSize = 30
fontHeight = 13
iconSize = 28
fontHeight = 14
case .large:
rowsCount = isHorizontalScreen ? 3 : 6
iconSize = 32
Expand Down Expand Up @@ -117,11 +117,11 @@ class Appearance {
fontHeight = 13
case .medium:
iconSize = 128
fontHeight = 15
fontHeight = 14
case .large:
windowPadding = 28
iconSize = 168
fontHeight = 17
fontHeight = 16
}
}

Expand All @@ -137,10 +137,10 @@ class Appearance {
rowsCount = 1
switch currentSize {
case .small:
iconSize = 20
iconSize = 23
fontHeight = 13
case .medium:
iconSize = 26
iconSize = 28
fontHeight = 14
case .large:
iconSize = 32
Expand Down