mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 03:15:14 +08:00
@@ -52,7 +52,7 @@ class DynamicsTabController
|
||||
);
|
||||
|
||||
Future<void> onRemove(int index, dynamic dynamicId) async {
|
||||
var res = await MsgHttp.removeDynamic(dynIdStr: dynamicId);
|
||||
final res = await MsgHttp.removeDynamic(dynIdStr: dynamicId);
|
||||
if (res.isSuccess) {
|
||||
loadingState
|
||||
..value.data!.removeAt(index)
|
||||
|
||||
Reference in New Issue
Block a user