💄 Optimize post category subscribe loading state
This commit is contained in:
@@ -151,7 +151,9 @@ class PostCategoryDetailScreen extends HookConsumerWidget {
|
|||||||
(error, _) => Text(
|
(error, _) => Text(
|
||||||
'Error loading subscription status',
|
'Error loading subscription status',
|
||||||
),
|
),
|
||||||
loading: () => CircularProgressIndicator(),
|
loading:
|
||||||
|
() =>
|
||||||
|
CircularProgressIndicator().center(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
).padding(horizontal: 24, vertical: 16),
|
).padding(horizontal: 24, vertical: 16),
|
||||||
@@ -220,7 +222,9 @@ class PostCategoryDetailScreen extends HookConsumerWidget {
|
|||||||
(error, _) => Text(
|
(error, _) => Text(
|
||||||
'Error loading subscription status',
|
'Error loading subscription status',
|
||||||
),
|
),
|
||||||
loading: () => CircularProgressIndicator(),
|
loading:
|
||||||
|
() =>
|
||||||
|
CircularProgressIndicator().center(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
).padding(horizontal: 24, vertical: 16),
|
).padding(horizontal: 24, vertical: 16),
|
||||||
|
Reference in New Issue
Block a user