Skip to content

Commit ee6cc78

Browse files
committed
Fixed invisible red action labels in Monet themes. (#461)
1 parent ee0d4fd commit ee6cc78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • TMessagesProj/src/main/java/org/telegram/ui/ActionBar

TMessagesProj/src/main/java/org/telegram/ui/ActionBar/Theme.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8195,7 +8195,7 @@ public static SparseIntArray getThemeFileValues(File file, String assetName, Str
81958195
} catch (Exception ignore) {
81968196
value = Utilities.parseInt(param);
81978197
}
8198-
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && (param.startsWith("a") || param.startsWith("n"))) {
8198+
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && (param.startsWith("a") || param.startsWith("n") || param.startsWith("monet"))) {
81998199
value = MonetHelper.getColor(param.trim());
82008200
} else {
82018201
value = Utilities.parseInt(param);

0 commit comments

Comments
 (0)