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

Fix crash in discussions #264

Merged
merged 3 commits into from
Apr 4, 2018
Merged

Fix crash in discussions #264

merged 3 commits into from
Apr 4, 2018

Conversation

kvld
Copy link
Contributor

@kvld kvld commented Apr 3, 2018

Задача: #APPS-1838

Коротко для Release Notes, в формате «Сделали/Добавили/Исправили N»:
Исправили краш при написании комментария

Описание:
Исправлен краш после отправки комментария в адаптивных степах и степах с видео. Кроме того, в степах с видео теперь обновляется счетчик комментариев по viewWillAppear.

@kvld kvld added this to the 1.56 milestone Apr 3, 2018
@kvld kvld self-assigned this Apr 3, 2018
@kvld kvld requested a review from Ostrenkiy April 3, 2018 13:11
@@ -42,7 +42,9 @@ class DiscussionsViewController: UIViewController {

var discussionProxyId: String!
var target: Int!
var step: Step!

// This var uses only for incrementing discussions count
Copy link
Contributor

Choose a reason for hiding this comment

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

This var is used

@Ostrenkiy
Copy link
Contributor

А адаптивные тоже пофикшены? Просто нет изменений в adaptive файлах

@kvld
Copy link
Contributor Author

kvld commented Apr 3, 2018

В адаптивных нет отображения кол-ва комментариев и в этот контроллер не прокидывается степ. А краш исправлен, так как Step теперь Optional.

@kvld kvld merged commit cd18774 into dev Apr 4, 2018
@kvld kvld deleted the fix/discussions-crash branch April 4, 2018 08:25
@kvld kvld mentioned this pull request Apr 4, 2018
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