From c07410ee6c8b34512fa416e93204cd286857e3fa Mon Sep 17 00:00:00 2001 From: stella Date: Sun, 1 Oct 2023 22:21:39 +0900 Subject: [PATCH] =?UTF-8?q?update:=20=E5=90=84=E7=A8=AE=E3=82=A8=E3=83=A9?= =?UTF-8?q?=E3=83=BC=E7=94=BB=E9=9D=A2=E3=81=ABAppBar=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0=E3=81=97=E3=80=81=E5=89=8D=E3=81=AE=E7=94=BB=E9=9D=A2?= =?UTF-8?q?=E3=81=AB=E6=88=BB=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/screens/error/data_not_found_error_screen.dart | 5 +++-- lib/screens/error/empty_data_error_screen.dart | 5 +++-- lib/screens/error/operation_error_screen.dart | 1 + lib/screens/error/unexpected_error_screen.dart | 5 +++-- lib/screens/folder/folder_screen.dart | 6 +----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/screens/error/data_not_found_error_screen.dart b/lib/screens/error/data_not_found_error_screen.dart index 34aba7d9..5a169530 100644 --- a/lib/screens/error/data_not_found_error_screen.dart +++ b/lib/screens/error/data_not_found_error_screen.dart @@ -10,8 +10,9 @@ class DataNotFoundErrorScreen extends HookConsumerWidget { @override Widget build(context, ref) { - return const Scaffold( - body: DataNotFoundErrorContainer(), + return Scaffold( + appBar: AppBar(title: const Text('')), + body: const DataNotFoundErrorContainer(), ); } } diff --git a/lib/screens/error/empty_data_error_screen.dart b/lib/screens/error/empty_data_error_screen.dart index 4fee6e2b..d651769b 100644 --- a/lib/screens/error/empty_data_error_screen.dart +++ b/lib/screens/error/empty_data_error_screen.dart @@ -10,8 +10,9 @@ class EmptyDataErrorScreen extends HookConsumerWidget { @override Widget build(context, ref) { - return const Scaffold( - body: DataEmptyErrorContainer(), + return Scaffold( + appBar: AppBar(title: const Text('')), + body: const DataEmptyErrorContainer(), ); } } diff --git a/lib/screens/error/operation_error_screen.dart b/lib/screens/error/operation_error_screen.dart index 914410f3..3d97202e 100644 --- a/lib/screens/error/operation_error_screen.dart +++ b/lib/screens/error/operation_error_screen.dart @@ -14,6 +14,7 @@ class OperationErrorScreen extends HookConsumerWidget { @override Widget build(context, ref) { return Scaffold( + appBar: AppBar(title: const Text('')), body: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, diff --git a/lib/screens/error/unexpected_error_screen.dart b/lib/screens/error/unexpected_error_screen.dart index 9343b08a..7bf9c37f 100644 --- a/lib/screens/error/unexpected_error_screen.dart +++ b/lib/screens/error/unexpected_error_screen.dart @@ -10,8 +10,9 @@ class UnexpectedErrorScreen extends HookConsumerWidget { @override Widget build(context, ref) { - return const Scaffold( - body: UnexpectedErrorContainer(), + return Scaffold( + appBar: AppBar(title: const Text('')), + body: const UnexpectedErrorContainer(), ); } } diff --git a/lib/screens/folder/folder_screen.dart b/lib/screens/folder/folder_screen.dart index ef85f4db..8aedc753 100644 --- a/lib/screens/folder/folder_screen.dart +++ b/lib/screens/folder/folder_screen.dart @@ -33,11 +33,7 @@ class FolderScreen extends HookConsumerWidget { builder: (context, response) { final folder = response.data?.folder; if (folder == null) { - return Scaffold( - appBar: AppBar( - title: Text('フォルダ'.i18n), - ), - body: const DataNotFoundErrorScreen()); + return const DataNotFoundErrorScreen(); } return Scaffold( resizeToAvoidBottomInset: true,