Skip to content

Commit 0076acf

Browse files
committed
remove test feed from notifications
1 parent d2063fd commit 0076acf

File tree

1 file changed

+7
-28
lines changed

1 file changed

+7
-28
lines changed
Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,18 @@
1-
import 'package:camelus/config/palette.dart';
2-
import 'package:camelus/domain_layer/entities/feed_filter.dart';
3-
import 'package:camelus/presentation_layer/components/generic_feed.dart';
4-
import 'package:camelus/presentation_layer/providers/following_provider.dart';
5-
61
import 'package:flutter/material.dart';
72
import 'package:hooks_riverpod/hooks_riverpod.dart';
83

4+
import '../../config/palette.dart';
5+
96
class NotificationPage extends ConsumerWidget {
107
const NotificationPage({super.key});
118

129
@override
1310
Widget build(BuildContext context, ref) {
14-
final followP = ref.watch(followingProvider);
15-
1611
return Scaffold(
17-
backgroundColor: Palette.background,
18-
appBar: AppBar(
19-
title: Text("Notifications"),
20-
),
21-
body: FutureBuilder(
22-
future: followP.getContactsSelf(),
23-
builder: (context, snapshot) {
24-
if (snapshot.connectionState == ConnectionState.waiting) {
25-
return Center(child: CircularProgressIndicator());
26-
} else {
27-
return GenericFeed(
28-
feedFilter: FeedFilter(
29-
feedId: "testfeed",
30-
kinds: [1],
31-
authors: snapshot.data?.contacts ?? [],
32-
),
33-
);
34-
}
35-
},
36-
),
37-
);
12+
backgroundColor: Palette.background,
13+
body: const Center(
14+
child:
15+
Text('work in progress', style: TextStyle(color: Colors.white)),
16+
));
3817
}
3918
}

0 commit comments

Comments
 (0)