💄 Optimize articles page
This commit is contained in:
@@ -137,6 +137,7 @@ class ArticlesScreen extends ConsumerWidget {
|
|||||||
return DefaultTabController(
|
return DefaultTabController(
|
||||||
length: feeds.length + 1,
|
length: feeds.length + 1,
|
||||||
child: AppScaffold(
|
child: AppScaffold(
|
||||||
|
isNoBackground: false,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('Articles'),
|
title: const Text('Articles'),
|
||||||
bottom: TabBar(
|
bottom: TabBar(
|
||||||
@@ -192,11 +193,13 @@ class ArticlesScreen extends ConsumerWidget {
|
|||||||
},
|
},
|
||||||
loading:
|
loading:
|
||||||
() => AppScaffold(
|
() => AppScaffold(
|
||||||
|
isNoBackground: false,
|
||||||
appBar: AppBar(title: const Text('Articles')),
|
appBar: AppBar(title: const Text('Articles')),
|
||||||
body: const Center(child: CircularProgressIndicator()),
|
body: const Center(child: CircularProgressIndicator()),
|
||||||
),
|
),
|
||||||
error:
|
error:
|
||||||
(err, stack) => AppScaffold(
|
(err, stack) => AppScaffold(
|
||||||
|
isNoBackground: false,
|
||||||
appBar: AppBar(title: const Text('Articles')),
|
appBar: AppBar(title: const Text('Articles')),
|
||||||
body: Center(child: Text('Error: $err')),
|
body: Center(child: Text('Error: $err')),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user