mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-01 08:20:14 +08:00
tweaks (#1780)
* opt: sized * fix: self send * feat: ctrl enter to send * opt: checked * opt: download notifier * opt: Future.syncValue * mod: account * mod: loading state * opt: DebounceStreamMixin * opt: report * opt: enum map * opt: file handler * opt: dyn color * opt: Uint8List subview * opt: FileExt * opt: computeLuminance * opt: isNullOrEmpty * opt: Get context * update [skip ci] Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * opt dynamicColor [skip ci] Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * fixes [skip ci] * update Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * update Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Signed-off-by: My-Responsitories <107370289+My-Responsitories@users.noreply.github.com> Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
02e0d34127
commit
ce5e85e64b
@@ -6,7 +6,6 @@ import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/models_new/space/space_shop/item.dart';
|
||||
import 'package:PiliPlus/pages/member_shop/controller.dart';
|
||||
import 'package:PiliPlus/pages/member_shop/widgets/item.dart';
|
||||
import 'package:PiliPlus/utils/extension/iterable_ext.dart';
|
||||
import 'package:PiliPlus/utils/grid.dart';
|
||||
import 'package:PiliPlus/utils/waterfall.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -80,7 +79,7 @@ class _MemberShopState extends State<MemberShop>
|
||||
),
|
||||
);
|
||||
case Success(:var response):
|
||||
if (response.isNullOrEmpty) {
|
||||
if (response == null || response.isEmpty) {
|
||||
return HttpError(onReload: _controller.onReload);
|
||||
}
|
||||
Widget sliver = SliverWaterfallFlow(
|
||||
@@ -92,7 +91,7 @@ class _MemberShopState extends State<MemberShop>
|
||||
maxWidth: _maxWidth,
|
||||
);
|
||||
},
|
||||
childCount: response!.length,
|
||||
childCount: response.length,
|
||||
),
|
||||
);
|
||||
if (_controller.showMoreTab == true) {
|
||||
|
||||
Reference in New Issue
Block a user