Add accent colour picker, fix empty user card when accepting friend request, add button to transfer allocations
All checks were successful
Release / meta (push) Successful in 8s
Release / linux-build (push) Successful in 56s
Release / web-build (push) Successful in 2m15s
Release / android-build (push) Successful in 6m47s
Release / release-master (push) Successful in 19s
Release / release-dev (push) Successful in 21s
All checks were successful
Release / meta (push) Successful in 8s
Release / linux-build (push) Successful in 56s
Release / web-build (push) Successful in 2m15s
Release / android-build (push) Successful in 6m47s
Release / release-master (push) Successful in 19s
Release / release-dev (push) Successful in 21s
This commit is contained in:
@@ -127,6 +127,9 @@ class _ProfilePageState extends State<ProfilePage> {
|
||||
);
|
||||
if (!mounted) return;
|
||||
setState(() => _status = status);
|
||||
final data = context.read<DataService>();
|
||||
await data.fetchFriendships();
|
||||
await data.fetchPendingFriendships();
|
||||
_showSnack('Friend request sent');
|
||||
} catch (e) {
|
||||
_showSnack('Failed to send request: $e');
|
||||
@@ -159,6 +162,7 @@ class _ProfilePageState extends State<ProfilePage> {
|
||||
final updated = await context.read<DataService>().acceptFriendship(id);
|
||||
if (!mounted) return;
|
||||
setState(() => _status = updated);
|
||||
await context.read<DataService>().fetchFriendships();
|
||||
_showSnack('Friend request accepted');
|
||||
} catch (e) {
|
||||
_showSnack('Failed to accept: $e');
|
||||
@@ -175,6 +179,7 @@ class _ProfilePageState extends State<ProfilePage> {
|
||||
final updated = await context.read<DataService>().rejectFriendship(id);
|
||||
if (!mounted) return;
|
||||
setState(() => _status = updated);
|
||||
await context.read<DataService>().fetchPendingFriendships();
|
||||
_showSnack('Friend request rejected');
|
||||
} catch (e) {
|
||||
_showSnack('Failed to reject: $e');
|
||||
|
||||
Reference in New Issue
Block a user