forked from upstream-mirrors/quik
Change switch case order
This commit is contained in:
@@ -16,15 +16,15 @@ public class TypefaceManager {
|
|||||||
switch (fontFamily) {
|
switch (fontFamily) {
|
||||||
case FontFamily.ROBOTO:
|
case FontFamily.ROBOTO:
|
||||||
switch (textWeight) {
|
switch (textWeight) {
|
||||||
case TextWeight.NORMAL:
|
|
||||||
typefaceValue = Typefaces.ROBOTO_REGULAR;
|
|
||||||
break;
|
|
||||||
case TextWeight.THIN:
|
case TextWeight.THIN:
|
||||||
typefaceValue = Typefaces.ROBOTO_THIN;
|
typefaceValue = Typefaces.ROBOTO_THIN;
|
||||||
break;
|
break;
|
||||||
case TextWeight.LIGHT:
|
case TextWeight.LIGHT:
|
||||||
typefaceValue = Typefaces.ROBOTO_LIGHT;
|
typefaceValue = Typefaces.ROBOTO_LIGHT;
|
||||||
break;
|
break;
|
||||||
|
case TextWeight.NORMAL:
|
||||||
|
typefaceValue = Typefaces.ROBOTO_REGULAR;
|
||||||
|
break;
|
||||||
case TextWeight.MEDIUM:
|
case TextWeight.MEDIUM:
|
||||||
case TextWeight.BOLD:
|
case TextWeight.BOLD:
|
||||||
typefaceValue = Typefaces.ROBOTO_MEDIUM;
|
typefaceValue = Typefaces.ROBOTO_MEDIUM;
|
||||||
|
|||||||
Reference in New Issue
Block a user