mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Change switch case order
This commit is contained in:
@@ -16,15 +16,15 @@ public class TypefaceManager {
|
||||
switch (fontFamily) {
|
||||
case FontFamily.ROBOTO:
|
||||
switch (textWeight) {
|
||||
case TextWeight.NORMAL:
|
||||
typefaceValue = Typefaces.ROBOTO_REGULAR;
|
||||
break;
|
||||
case TextWeight.THIN:
|
||||
typefaceValue = Typefaces.ROBOTO_THIN;
|
||||
break;
|
||||
case TextWeight.LIGHT:
|
||||
typefaceValue = Typefaces.ROBOTO_LIGHT;
|
||||
break;
|
||||
case TextWeight.NORMAL:
|
||||
typefaceValue = Typefaces.ROBOTO_REGULAR;
|
||||
break;
|
||||
case TextWeight.MEDIUM:
|
||||
case TextWeight.BOLD:
|
||||
typefaceValue = Typefaces.ROBOTO_MEDIUM;
|
||||
@@ -45,7 +45,7 @@ public class TypefaceManager {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case FontFamily.SYSTEM_FONT:
|
||||
switch (textWeight) {
|
||||
case TextWeight.THIN:
|
||||
|
||||
Reference in New Issue
Block a user