fix(feed): Issue-591

This commit is contained in:
mso7nueh
2025-09-19 15:55:07 +03:00
parent fef4451f4e
commit e6df89c98a
7 changed files with 100 additions and 136 deletions

View File

@@ -15,9 +15,6 @@ abstract class CardModel with _$CardModel {
}
bool parseBool(dynamic json) {
if (json == null) {
throw Exception('parseBool: json is null');
}
if (json == 1 || json == true || json == '1') {
return true;
}