Skip to content

Commit

Permalink
some minor changes (fixed warnings) for 1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Steudter authored and Michael Steudter committed Nov 15, 2023
1 parent 3ec2e1b commit 7679880
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions VocabularyTrainer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.3.1;
MARKETING_VERSION = 1.5.0;
PRODUCT_BUNDLE_IDENTIFIER = st.mic.VocabularyTrainer;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -795,7 +795,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.3.1;
MARKETING_VERSION = 1.5.0;
PRODUCT_BUNDLE_IDENTIFIER = st.mic.VocabularyTrainer;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ final class HomeViewController: UIViewController {
return collectionView
}()
/// Data source of `collectionView`.
lazy var datasource: UICollectionViewDiffableDataSource<Int, LanguageCellViewModel> = { [weak self] in
lazy var datasource: UICollectionViewDiffableDataSource<Int, LanguageCellViewModel> = { [self] in
let cellConfig = UICollectionView.CellRegistration<CollectionViewCell, LanguageCellViewModel> { cell, _, item in
cell.configure(with: item)
}
Expand Down
1 change: 1 addition & 0 deletions VocabularyTrainer/Training/View/TrainingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ final class TrainingView: UIView {
} else {
progresses[key] = 1.0
}
guard let selectedLanguage = selectedLanguage else { return }
UserDefaults.standard.set(progresses, forKey: "\(selectedLanguage)Progress")
}

Expand Down

0 comments on commit 7679880

Please sign in to comment.