kopia lustrzana https://gitlab.com/mysocialportal/relatica
Remove duplicate "accept and follow back" button
rodzic
8bc5b35255
commit
21b99887f4
|
@ -94,13 +94,6 @@ class _FollowRequestAdjudicationScreenState
|
|||
ConnectionsManager connectionsManager,
|
||||
FollowRequestsManager followRequestsManager,
|
||||
) {
|
||||
// Options are:
|
||||
// Accept and follow back
|
||||
// Accept and don't follow back
|
||||
// Reject
|
||||
// Back with no action
|
||||
// Calling method should check if completed (true) or not (false) to decide if updating their view of that item
|
||||
|
||||
return SingleChildScrollView(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
|
@ -130,13 +123,6 @@ class _FollowRequestAdjudicationScreenState
|
|||
followRequestsManager, contact, true),
|
||||
child: const Text('Accept and follow back'),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: processing
|
||||
? null
|
||||
: () async => await accept(connectionsManager,
|
||||
followRequestsManager, contact, true),
|
||||
child: const Text('Accept and follow back'),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: processing
|
||||
? null
|
||||
|
|
Ładowanie…
Reference in New Issue