View -
commit 3c1d735f02d64cdd8890b394524987401afcecd1
Author: Christopher Denter <c@denter.org>
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
View -
diff --git a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
index d3fa5550e..71cdb2d3a 100644
--- a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
+++ b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>5.2.29</string>
+ <string>5.2.30</string>
View -
diff --git a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
index f7468fd02..24042ace7 100644
--- a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
+++ b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>5.2.26</string>
+ <string>5.2.30</string>
View -
diff --git a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
index f7468fd02..24042ace7 100644
--- a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
+++ b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>5.2.26</string>
+ <string>5.2.30</string>
View -
diff --git a/DuolingoMobile/Sources/Explanations/StyledString.swift b/DuolingoMobile/Sources/Explanations/StyledString.swift
index 012e1ff3d..90fc0af5c 100644
--- a/DuolingoMobile/Sources/Explanations/StyledString.swift
+++ b/DuolingoMobile/Sources/Explanations/StyledString.swift
@@ -135,6 +135,16 @@ struct StyledString: Decodable {
attributedString.addAttributes(attributes, range: range)
}
+ if attributedString.string.hasSuffix("manzana") {
+// attributedString.replaceCharacters(in: NSRange(location: 0, length: 9), with: "         ")
View -
diff --git a/DuolingoMobile/Sources/Explanations/ExplanationCells.swift b/DuolingoMobile/Sources/Explanations/ExplanationCells.swift
index b29ff18c1..aa34831f2 100644
--- a/DuolingoMobile/Sources/Explanations/ExplanationCells.swift
+++ b/DuolingoMobile/Sources/Explanations/ExplanationCells.swift
@@ -209,7 +209,7 @@ class OptionsCell: ExplanationCell {
let missingButtons = max(0, model.count - buttons.count)
if missingButtons > 0 {
let newButtons = (0..<missingButtons).map { _ in
- OptionsCell.makeButton()
+ OptionsCell.makeButton(target: self)
View -
diff --git a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
index 158fdec12..89b58155a 100644
--- a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
+++ b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>5.2.18</string>
+ <string>5.2.20</string>
View -
diff --git a/DuolingoMobile/Sources/Library/Networking/NetworkClient/Models/DUOSkill.swift b/DuolingoMobile/Sources/Library/Networking/NetworkClient/Models/DUOSkill.swift
index f8d3c1fa6..e047ffdad 100644
--- a/DuolingoMobile/Sources/Library/Networking/NetworkClient/Models/DUOSkill.swift
+++ b/DuolingoMobile/Sources/Library/Networking/NetworkClient/Models/DUOSkill.swift
@@ -8,139 +8,140 @@
import Foundation
-final class DUOSkill: NSObject, DUOCoding {
-
View -
This file has been truncated, but you can view the full file.
diff --git a/DuolingoMobile.xcodeproj/project.pbxproj b/DuolingoMobile.xcodeproj/project.pbxproj
index 498a54c7b..6256e0bce 100644
--- a/DuolingoMobile.xcodeproj/project.pbxproj
+++ b/DuolingoMobile.xcodeproj/project.pbxproj
@@ -11,7 +11,7 @@
9B02BA5993444D925474C2BA /* Pods_DuolingoMobileTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 57AC2F41A1F7D68D0875702F /* Pods_DuolingoMobileTests.framework */; };
BF_100128383904 /* checkpoint-check.pdf in Resources */ = {isa = PBXBuildFile; fileRef = FR_509133817729 /* checkpoint-check.pdf */; };
BF_101255416285 /* ModalHomeBarVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_757705638958 /* ModalHomeBarVC.swift */; };
- BF_101527506823 /* DUOSignInNavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = FR_498720758294-1 /* DUOSignInNavigationController.m */; };
View FileClient.swift
//
// FileClient.swift
// Flashcards
//
// Created by David Klionsky on 4/18/16.
// Copyright © 2016 Duolingo, Inc. All rights reserved.
//
import Foundation