Skip to content

Commit

Permalink
Fix #163
Browse files Browse the repository at this point in the history
  • Loading branch information
Hentioe committed May 2, 2020
1 parent 2c10027 commit 16ac0fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/src/blocs/comic_bloc.dart
Expand Up @@ -77,7 +77,8 @@ class ComicBloc extends Bloc<ComicEvent, ComicState> {
yield (state as ComicLoadedState).copyWith(
comic: castedEvent.comic,
isShowToolBar: true,
layoutColumns: chaptersCount < 3 ? chaptersCount : null);
layoutColumns:
chaptersCount < 3 && chaptersCount > 0 ? chaptersCount : null);
break;
case ComicRetryEvent: // 重试(重新请求远程数据)
yield (state as ComicLoadedState).copyWith(error: false);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Expand Up @@ -11,7 +11,7 @@ description: Mikack mobile client
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.6.3+1
version: 0.6.4+1

environment:
sdk: ">=2.6.0 <3.0.0"
Expand Down

0 comments on commit 16ac0fa

Please sign in to comment.