Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-27 20:54:41 +08:00
parent 25acf3a9bb
commit b51c646415
227 changed files with 768 additions and 764 deletions

View File

@@ -36,7 +36,7 @@ class _SpaceSettingPageState extends State<SpaceSettingPage> {
Widget _buildBody(ThemeData theme, LoadingState<Privacy?> loadingState) {
return switch (loadingState) {
Loading() => const SizedBox.shrink(),
Success<Privacy?>(:var response) =>
Success<Privacy?>(:final response) =>
response == null
? scrollErrorWidget(onReload: _controller.onReload)
: Builder(
@@ -88,7 +88,7 @@ class _SpaceSettingPageState extends State<SpaceSettingPage> {
);
},
),
Error(:var errMsg) => scrollErrorWidget(
Error(:final errMsg) => scrollErrorWidget(
errMsg: errMsg,
onReload: _controller.onReload,
),