mod: delete dynamic on dynamic page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-30 13:54:30 +08:00
parent 2a1849d24c
commit 52f9b0f83c
3 changed files with 25 additions and 3 deletions

View File

@@ -234,7 +234,8 @@ class MorePanel extends StatelessWidget {
minLeadingWidth: 0,
),
if (item.modules.moduleAuthor.mid ==
GStorage.userInfo.get('userInfoCache')?.mid)
GStorage.userInfo.get('userInfoCache')?.mid &&
onRemove != null)
ListTile(
onTap: () async {
Get.back();