comment out blocking buttons for later PR
This commit is contained in:
parent
bd8da4c2f7
commit
d58ecc878e
|
@ -102,32 +102,33 @@ class _UserBlocks extends HookWidget {
|
||||||
if (store.blockedUsers.isEmpty)
|
if (store.blockedUsers.isEmpty)
|
||||||
const ListTile(
|
const ListTile(
|
||||||
title: Center(child: Text('No users blocked'))),
|
title: Center(child: Text('No users blocked'))),
|
||||||
ListTile(
|
// TODO: add user search & block
|
||||||
leading: const Padding(
|
// ListTile(
|
||||||
padding: EdgeInsets.only(left: 16, right: 10),
|
// leading: const Padding(
|
||||||
child: Icon(Icons.add),
|
// padding: EdgeInsets.only(left: 16, right: 10),
|
||||||
),
|
// child: Icon(Icons.add),
|
||||||
onTap: () {
|
// ),
|
||||||
showDialog(
|
// onTap: () {},
|
||||||
context: context,
|
// title: const Text('Block User'),
|
||||||
builder: (context) =>
|
// ),
|
||||||
BlockUserPopup(store.instanceHost));
|
|
||||||
},
|
|
||||||
title: const Text('Block User'),
|
|
||||||
),
|
|
||||||
const Divider(),
|
const Divider(),
|
||||||
for (final community in store.blockedCommunities)
|
for (final community in store.blockedCommunities)
|
||||||
_BlockCommunityTile(community, key: ValueKey(community)),
|
_BlockCommunityTile(community, key: ValueKey(community)),
|
||||||
if (store.blockedCommunities.isEmpty)
|
if (store.blockedCommunities.isEmpty)
|
||||||
const ListTile(
|
const ListTile(
|
||||||
title: Center(child: Text('No communities blocked'))),
|
title: Center(
|
||||||
const ListTile(
|
child: Text('No communities blocked'),
|
||||||
leading: Padding(
|
),
|
||||||
padding: EdgeInsets.only(left: 16, right: 10),
|
|
||||||
child: Icon(Icons.add),
|
|
||||||
),
|
),
|
||||||
title: Text('Block Community'),
|
// TODO: add community search & block
|
||||||
),
|
// const ListTile(
|
||||||
|
// leading: Padding(
|
||||||
|
// padding: EdgeInsets.only(left: 16, right: 10),
|
||||||
|
// child: Icon(Icons.add),
|
||||||
|
// ),
|
||||||
|
// onTap: () {},
|
||||||
|
// title: Text('Block Community'),
|
||||||
|
// ),
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue