diff --git a/lib/data/models/item.dart b/lib/data/models/item.dart index ecbfe01..81b8d89 100644 --- a/lib/data/models/item.dart +++ b/lib/data/models/item.dart @@ -15,7 +15,7 @@ final class Item { final int? sats; final int? boost; final int? bounty; - final String? bountyPaidTo; + final List? bountyPaidTo; final String? path; final int? upvotes; final int? meSats; diff --git a/lib/widgets/posts/bitcoin_posts/bitcon_posts_bloc.dart b/lib/widgets/posts/bitcoin_posts/bitcon_posts_bloc.dart index 6021fed..bd8d7cb 100644 --- a/lib/widgets/posts/bitcoin_posts/bitcon_posts_bloc.dart +++ b/lib/widgets/posts/bitcoin_posts/bitcon_posts_bloc.dart @@ -32,7 +32,7 @@ class BitcoinPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(BitcoinPostsError(e.toString())); + emit(BitcoinPostsError('${e.toString()}\n$st')); } }); @@ -60,7 +60,7 @@ class BitcoinPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(BitcoinPostsError(e.toString())); + emit(BitcoinPostsError('${e.toString()}\n$st')); } }); } diff --git a/lib/widgets/posts/job_posts/job_posts_bloc.dart b/lib/widgets/posts/job_posts/job_posts_bloc.dart index 7cc3aff..ec20cd6 100644 --- a/lib/widgets/posts/job_posts/job_posts_bloc.dart +++ b/lib/widgets/posts/job_posts/job_posts_bloc.dart @@ -32,7 +32,7 @@ class JobPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(JobPostsError(e.toString())); + emit(JobPostsError('${e.toString()}\n$st')); } }); @@ -60,7 +60,7 @@ class JobPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(JobPostsError(e.toString())); + emit(JobPostsError('${e.toString()}\n$st')); } }); } diff --git a/lib/widgets/posts/nostr_posts/nostr_posts_bloc.dart b/lib/widgets/posts/nostr_posts/nostr_posts_bloc.dart index 3020f5d..2f7afd2 100644 --- a/lib/widgets/posts/nostr_posts/nostr_posts_bloc.dart +++ b/lib/widgets/posts/nostr_posts/nostr_posts_bloc.dart @@ -32,7 +32,7 @@ class NostrPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(NostrPostsError(e.toString())); + emit(NostrPostsError('${e.toString()}\n$st')); } }); @@ -60,7 +60,7 @@ class NostrPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(NostrPostsError(e.toString())); + emit(NostrPostsError('${e.toString()}\n$st')); } }); } diff --git a/lib/widgets/posts/top_posts/top_posts_bloc.dart b/lib/widgets/posts/top_posts/top_posts_bloc.dart index da14fda..9fcd628 100644 --- a/lib/widgets/posts/top_posts/top_posts_bloc.dart +++ b/lib/widgets/posts/top_posts/top_posts_bloc.dart @@ -32,7 +32,7 @@ class TopPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(TopPostsError(e.toString())); + emit(TopPostsError('${e.toString()}\n$st')); } }); @@ -60,7 +60,7 @@ class TopPostsBloc extends Bloc { ); } catch (e, st) { debugPrintStack(stackTrace: st); - emit(TopPostsError(e.toString())); + emit(TopPostsError('${e.toString()}\n$st')); } }); } diff --git a/pubspec.yaml b/pubspec.yaml index 6e2d9c7..09cbbce 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: A new Flutter project. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 +version: 1.0.0+2 environment: sdk: '>=3.0.1 <4.0.0'