Instantly share code, notes, and snippets.

View es-vocab.speling
This file has been truncated, but you can view the full file.
a; a; ; pr
A Abelosa; A Abelosa; loc; np
A Abesoureira; A Abesoureira; loc; np
A Abidueira; A Abidueira; loc; np
A Agolada; A Agolada; loc; np
A Agra; A Agra; loc; np
A Aira; A Aira; loc; np
A Algalia; A Algalia; loc; np
A Almáciga; A Almáciga; loc; np
View es-vocab.speling
This file has been truncated, but you can view the full file.
a; a; ; pr
A Abelosa; A Abelosa; loc; np
A Abesoureira; A Abesoureira; loc; np
A Abidueira; A Abidueira; loc; np
A Agolada; A Agolada; loc; np
A Agra; A Agra; loc; np
A Aira; A Aira; loc; np
A Algalia; A Algalia; loc; np
A Almáciga; A Almáciga; loc; np
View es-vocab.speling
This file has been truncated, but you can view the full file.
a; a; ; pr
A Abelosa; A Abelosa; loc; np
A Abesoureira; A Abesoureira; loc; np
A Abidueira; A Abidueira; loc; np
A Agolada; A Agolada; loc; np
A Agra; A Agra; loc; np
A Aira; A Aira; loc; np
A Algalia; A Algalia; loc; np
A Almáciga; A Almáciga; loc; np
View gist:e6a801599de868ee80bfba92494989e9
diff --git a/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift b/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift
index 0e968a1a4b..90f125c75a 100644
--- a/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift
+++ b/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift
@@ -183,7 +183,8 @@ class SpeakableLabel: UIView {
super.init(frame: .zero)
- for subview in [sentenceView, speakerView] as [UIView] {
+// for subview in [sentenceView, speakerView] as [UIView] {
View gist:a8de8a3eec61f1e003feaea106768129
diff --git a/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift b/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift
index 0e968a1a4b..1759777630 100644
--- a/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift
+++ b/DuolingoMobile/Sources/Library/UI/Views/SpeakableLabel.swift
@@ -19,7 +19,7 @@ class SpeakableLabel: UIView {
// If there is a speaker, let the text wrap around it and adjust the line spacing accordingly.
sentenceView.lineSpacing = sentenceView.font.lineHeight * (hasSpeaker ? 0.8 : 0.5)
- sentenceView.wrapView = hasSpeaker ? speakerView : nil
+// sentenceView.wrapView = hasSpeaker ? speakerView : nil
View gist:ce3b5467459faf326fd3fd13eebfee3d
diff --git a/DuolingoMobile/Sources/Explanations/Smart_Tips/SmartTipManager.swift b/DuolingoMobile/Sources/Explanations/Smart_Tips/SmartTipManager.swift
index 332ca7b2b8..10026a6d01 100644
--- a/DuolingoMobile/Sources/Explanations/Smart_Tips/SmartTipManager.swift
+++ b/DuolingoMobile/Sources/Explanations/Smart_Tips/SmartTipManager.swift
@@ -172,16 +172,16 @@ class SmartTipManager: NSObject {
let eligibleSmartTips = smartTips.filter({ _, smartTip in
// Have we shown this particular one in this session already?
- if smartTipsShownInCurrentSession.contains(smartTip.identifier) {
- LogInfo("We've already shown smart tip '\(smartTip.identifier)' in this session. Won't show it again.")
View gist:f4153301a512187217c92518303057ca
diff --git a/DuolingoMobile/Sources/Explanations/ExplanationCells.swift b/DuolingoMobile/Sources/Explanations/ExplanationCells.swift
index 3ad70f9b0b..ad5af4c56e 100644
--- a/DuolingoMobile/Sources/Explanations/ExplanationCells.swift
+++ b/DuolingoMobile/Sources/Explanations/ExplanationCells.swift
@@ -609,23 +609,23 @@ private class PhonemeView: UIControl {
}
/// Called when the control is tapped.
- var handleTap: (() -> Void)?
+// var handleTap: (() -> Void)?
View gist:7e9446da7bd2a5f1325a47b83da7535a
diff --git a/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m b/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m
index 0e59ddc20b..611228e206 100644
--- a/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m
+++ b/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m
@@ -360,7 +360,8 @@ - (void)viewDidLoad
{
[super viewDidLoad];
- self.view.backgroundColor = [UIColor duolingoOffWhiteColor];
+ // XXX
View gist:541958426efe6b34ce70e3d8c3aa3d52
# Data retrieved from https://api.duolingo.com/internal_api/1/trees/inspect?id=<tree_id>
3cdc03288e3c6f85b686b505cbfe29f3:
learning_language:
abbrev: es
id: es
from_language:
id: en
version:
22
skills:
View -
diff --git a/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m b/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m
index 585b7cfac..b44530f2e 100644
--- a/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m
+++ b/DuolingoMobile/Sources/Sessions/Controllers/DUOSessionViewController.m
@@ -704,9 +704,11 @@ - (BOOL)shouldAutorotate
- (BOOL)allowDisplayOfCharacters
{
+ DUOUser *user = self.userClient.user;
+