Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed annoying selection of initial step with bad connection #91

Merged
merged 2 commits into from
Aug 21, 2017

Conversation

Ostrenkiy
Copy link
Contributor

Задача: #APPS-1405

Коротко для Release Notes, в формате «Сделали/Добавили/Исправили N»:
При медленном соединении после обновления урока пользователь не перекидывается на первый таб.

Описание:
Добавил немного зависимостей в LessonPresenter, а так же исправил эту ошибку. Возможно, мы также этим пофиксим львиную долю крашей, которые приходятся на несвоевременный выбор таба.

@Ostrenkiy Ostrenkiy added the main label Aug 18, 2017
@Ostrenkiy Ostrenkiy added this to the 1.41 milestone Aug 18, 2017
@Ostrenkiy Ostrenkiy self-assigned this Aug 18, 2017
@Ostrenkiy Ostrenkiy requested a review from kvld August 18, 2017 10:04
@@ -30,6 +30,9 @@ class LessonPresenter {
fileprivate var unitId: Int?
fileprivate var context: StepsControllerPresentationContext = .unit

var stepsAPI = ApiDataDownloader.steps
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А зачем нам в этом классе зависеть ещё и от ApiDataDownloader?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это default value. Думаешь стоит убрать?

@Ostrenkiy
Copy link
Contributor Author

Fixed

@Ostrenkiy Ostrenkiy merged commit d74bc48 into dev Aug 21, 2017
@Ostrenkiy Ostrenkiy deleted the bug/lesson-reload branch August 21, 2017 20:11
@Ostrenkiy Ostrenkiy mentioned this pull request Aug 27, 2017
@Ostrenkiy Ostrenkiy added this to the 1.41 milestone Sep 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants