-
-
Save dennda/719da5b94e754caf7a5213d6a0435481 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 3c1d735f02d64cdd8890b394524987401afcecd1 | |
Author: Christopher Denter <[email protected]> | |
Date: Wed Jun 20 12:59:43 2018 +0200 | |
XPLAIN: Fix an issue where audio sample cells would override their descriptions text attributes. | |
diff --git a/DuolingoMobile/Sources/Explanations/ExplanationCells.swift b/DuolingoMobile/Sources/Explanations/ExplanationCells.swift | |
index 5ee3b04ac..37def6bc2 100644 | |
--- a/DuolingoMobile/Sources/Explanations/ExplanationCells.swift | |
+++ b/DuolingoMobile/Sources/Explanations/ExplanationCells.swift | |
@@ -784,6 +784,7 @@ class AudioSampleCell: ExplanationCell, UIGestureRecognizerDelegate { | |
private static func makeLabel() -> HintLabel { | |
let label = HintLabel(style: duoStyle) | |
+ label.inhibitOverridingTextAttributes = true | |
return label | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment