bug fixes

This commit is contained in:
MohammadTaha Basiri 2022-03-09 12:12:47 +03:30
parent 7abc378a14
commit 63ec3d168e
2 changed files with 5 additions and 3 deletions

View File

@ -66,10 +66,10 @@ class CategoryItem extends StatelessWidget {
isVisible: !isColapsed,
child: Container(
width: !_useWebMobileLayout(context)
? _width(context) / 2
? _width(context) / 1.5
: ds.width / 5,
height: !_useWebMobileLayout(context)
? _width(context) / 2
? _width(context) / 1.5
: ds.width / 5,
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surface,

View File

@ -20,7 +20,9 @@ class FilteredBookmarksState extends CoreProvier {
lastSearch = search;
}
appState = AppState.busy;
final service = RequestService(RequestHelper.bookmarks(type: type));
final service = RequestService(
RequestHelper.bookmarks(type: type == 'news' ? type : type + 's'),
);
await service.httpGet();
if (service.isSuccess) {