bug fixes
This commit is contained in:
parent
7abc378a14
commit
63ec3d168e
|
|
@ -66,10 +66,10 @@ class CategoryItem extends StatelessWidget {
|
||||||
isVisible: !isColapsed,
|
isVisible: !isColapsed,
|
||||||
child: Container(
|
child: Container(
|
||||||
width: !_useWebMobileLayout(context)
|
width: !_useWebMobileLayout(context)
|
||||||
? _width(context) / 2
|
? _width(context) / 1.5
|
||||||
: ds.width / 5,
|
: ds.width / 5,
|
||||||
height: !_useWebMobileLayout(context)
|
height: !_useWebMobileLayout(context)
|
||||||
? _width(context) / 2
|
? _width(context) / 1.5
|
||||||
: ds.width / 5,
|
: ds.width / 5,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Theme.of(context).colorScheme.surface,
|
color: Theme.of(context).colorScheme.surface,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,9 @@ class FilteredBookmarksState extends CoreProvier {
|
||||||
lastSearch = search;
|
lastSearch = search;
|
||||||
}
|
}
|
||||||
appState = AppState.busy;
|
appState = AppState.busy;
|
||||||
final service = RequestService(RequestHelper.bookmarks(type: type));
|
final service = RequestService(
|
||||||
|
RequestHelper.bookmarks(type: type == 'news' ? type : type + 's'),
|
||||||
|
);
|
||||||
await service.httpGet();
|
await service.httpGet();
|
||||||
|
|
||||||
if (service.isSuccess) {
|
if (service.isSuccess) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue