~garritfra/FlutterFlux

c11044279fdb22d6f51be3b3bda56722a12d2966 — Garrit Franke 8 months ago e53565f main
feat: display placeholder if no unread posts left
1 files changed, 7 insertions(+), 0 deletions(-)

M lib/views/unread_view.dart
M lib/views/unread_view.dart => lib/views/unread_view.dart +7 -0
@@ 62,6 62,13 @@ class _UnreadViewState extends State<UnreadView> {

  @override
  Widget build(BuildContext context) {
    if (unreadPosts.isEmpty) {
      return Container(
        child: Center(
          child: Text("All done!"),
        ),
      );
    }
    return Container(
        key: UniqueKey(),
        child: Center(