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