remove unnecessary safearea
This commit is contained in:
@@ -25,8 +25,7 @@ class ChatArchiveListScreen extends HookConsumerWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
body: SafeArea(
|
||||
child: Skeletonizer(
|
||||
body: Skeletonizer(
|
||||
enabled: chatsAsync.isLoading,
|
||||
child: chatsAsync.when(
|
||||
data: (chats) {
|
||||
@@ -42,8 +41,7 @@ class ChatArchiveListScreen extends HookConsumerWidget {
|
||||
: null,
|
||||
onTap: () async {
|
||||
await context.push(
|
||||
ChatArchiveDetailRoute(fileName: chat.fileName)
|
||||
.location,
|
||||
ChatArchiveDetailRoute(fileName: chat.fileName).location,
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -66,7 +64,6 @@ class ChatArchiveListScreen extends HookConsumerWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,8 +90,7 @@ class SettingsScreen extends HookConsumerWidget {
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: const Text('Settings')),
|
||||
body: SafeArea(
|
||||
child: Padding(
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: ListView(
|
||||
children: [
|
||||
@@ -285,8 +284,7 @@ class SettingsScreen extends HookConsumerWidget {
|
||||
children: [
|
||||
const Text('Last Sync'),
|
||||
Text(
|
||||
lastSync?.formatWithMinutePrecision() ??
|
||||
'N/A',
|
||||
lastSync?.formatWithMinutePrecision() ?? 'N/A',
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -339,8 +337,7 @@ class SettingsScreen extends HookConsumerWidget {
|
||||
children: [
|
||||
const Text('Last Sync'),
|
||||
Text(
|
||||
lastSync?.formatWithMinutePrecision() ??
|
||||
'N/A',
|
||||
lastSync?.formatWithMinutePrecision() ?? 'N/A',
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -393,8 +390,7 @@ class SettingsScreen extends HookConsumerWidget {
|
||||
children: [
|
||||
const Text('Last Sync'),
|
||||
Text(
|
||||
lastSync?.formatWithMinutePrecision() ??
|
||||
'N/A',
|
||||
lastSync?.formatWithMinutePrecision() ?? 'N/A',
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -417,7 +413,6 @@ class SettingsScreen extends HookConsumerWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user