Skip to content

Commit

Permalink
1.0.0+2: Fix item model (bountyPaidTo from String to List)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebueno committed Jun 16, 2023
1 parent 1f8de5e commit 5289d95
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/data/models/item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class Item {
final int? sats;
final int? boost;
final int? bounty;
final String? bountyPaidTo;
final List<dynamic>? bountyPaidTo;
final String? path;
final int? upvotes;
final int? meSats;
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/posts/bitcoin_posts/bitcon_posts_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class BitcoinPostsBloc extends Bloc<BitcoinPostsEvent, BitcoinPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(BitcoinPostsError(e.toString()));
emit(BitcoinPostsError('${e.toString()}\n$st'));
}
});

Expand Down Expand Up @@ -60,7 +60,7 @@ class BitcoinPostsBloc extends Bloc<BitcoinPostsEvent, BitcoinPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(BitcoinPostsError(e.toString()));
emit(BitcoinPostsError('${e.toString()}\n$st'));
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/posts/job_posts/job_posts_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class JobPostsBloc extends Bloc<JobPostsEvent, JobPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(JobPostsError(e.toString()));
emit(JobPostsError('${e.toString()}\n$st'));
}
});

Expand Down Expand Up @@ -60,7 +60,7 @@ class JobPostsBloc extends Bloc<JobPostsEvent, JobPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(JobPostsError(e.toString()));
emit(JobPostsError('${e.toString()}\n$st'));
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/posts/nostr_posts/nostr_posts_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class NostrPostsBloc extends Bloc<NostrPostsEvent, NostrPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(NostrPostsError(e.toString()));
emit(NostrPostsError('${e.toString()}\n$st'));
}
});

Expand Down Expand Up @@ -60,7 +60,7 @@ class NostrPostsBloc extends Bloc<NostrPostsEvent, NostrPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(NostrPostsError(e.toString()));
emit(NostrPostsError('${e.toString()}\n$st'));
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/posts/top_posts/top_posts_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TopPostsBloc extends Bloc<TopPostsEvent, TopPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(TopPostsError(e.toString()));
emit(TopPostsError('${e.toString()}\n$st'));
}
});

Expand Down Expand Up @@ -60,7 +60,7 @@ class TopPostsBloc extends Bloc<TopPostsEvent, TopPostsState> {
);
} catch (e, st) {
debugPrintStack(stackTrace: st);
emit(TopPostsError(e.toString()));
emit(TopPostsError('${e.toString()}\n$st'));
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5289d95

Please sign in to comment.