From 4872427be55dd0f84c0a97aec65edf1d10f9c0c1 Mon Sep 17 00:00:00 2001 From: Moez Bhatti Date: Sat, 14 Nov 2015 19:34:18 -0500 Subject: [PATCH] Change switch case order --- .../main/java/com/moez/QKSMS/common/TypefaceManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/QKSMS/src/main/java/com/moez/QKSMS/common/TypefaceManager.java b/QKSMS/src/main/java/com/moez/QKSMS/common/TypefaceManager.java index 78738e2a..06ab1f07 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/common/TypefaceManager.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/common/TypefaceManager.java @@ -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: