Conversation
commit 324b238 Merge: 2d4faa5 b29bdca Author: Yurin Andrey <andreyyurin@icloud.com> Date: Thu Sep 10 23:02:58 2026 +0300 Merge branch 'minorchange/schedule-color' of https://github.com/BitCodersNN/unn-mobile into minorchange/schedule-color commit 2d4faa5 Author: Yurin Andrey <andreyyurin@icloud.com> Date: Thu Sep 10 23:02:54 2026 +0300 Изменил цвет фона при чередовании commit c83544e Author: Yurin Andrey <andreyyurin@icloud.com> Date: Thu Sep 10 22:57:51 2026 +0300 Revert "Изменил цвет фона при чередовании пар" This reverts commit b4f831e. commit b29bdca Author: UNN MOBILE runner <unnmobile@mail.ru> Date: Thu Sep 10 18:08:03 2026 +0000 Change version in pubspec commit b4f831e Author: Yurin Andrey <andreyyurin@icloud.com> Date: Thu Sep 10 21:05:36 2026 +0300 Изменил цвет фона при чередовании пар
Member
Author
KriseevM
had a problem deploying
to
develop-ios
September 15, 2026 15:44 — with
GitHub Actions
Error
- Вынесены общие виджеты и создан AppSearchController<T>. - Логика перенесена в ViewModels. - Экспорт вынесен в отдельный файл. - Нумерация недель привязана к семестрам, добавлен скролл к сегодня.
Namxobick
marked this pull request as ready for review
September 23, 2026 14:36
KriseevM
reviewed
Sep 25, 2026
Namxobick
commented
Oct 1, 2026
Comment on lines
+156
to
+161
| for (int i = start; i < currentSchedule.length && i < end; i++) { | ||
| if (currentSchedule[i].isNotEmpty) { | ||
| return i; | ||
| } | ||
| } | ||
| return null; |
Member
Author
There was a problem hiding this comment.
final index = currentSchedule.indexWhere((item) => item.isNotEmpty, start);
if (index == -1) {
return null;
}
return index;или, вроде, в пакете collection уже есть готовый indexWhereOrNull
Contributor
There was a problem hiding this comment.
Это твой же код :D
Но вообще надо попробовать
Contributor
There was a problem hiding this comment.
final index = currentSchedule.indexWhere((item) => item.isNotEmpty, start);
if (index == -1 || index >= end) {
return null;
}
return index;вот так как-то получилось
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.







resolves #697
Я вижу дизайн этой странички так. Глянь тоже: если по дизайну всё устраивает, то маякни, чтобы я начал рефакторить этот код =) Также, если встретишь баги, пиши об этом.
Bugs: