mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
feat: toast for disabled updates.
This commit is contained in:
@ -45,17 +45,14 @@ class AvailableUpdatesCard extends StatelessWidget {
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
children: apps
|
||||
.map((app) => ApplicationItem(
|
||||
icon: app.icon,
|
||||
name: app.name,
|
||||
patchDate: app.patchDate,
|
||||
changelog: app.changelog,
|
||||
isUpdatableApp: true,
|
||||
//TODO: Find a better way to do update functionality
|
||||
onPressed: () {}
|
||||
// () =>
|
||||
// locator<HomeViewModel>().navigateToPatcher(
|
||||
// app,
|
||||
// ),
|
||||
icon: app.icon,
|
||||
name: app.name,
|
||||
patchDate: app.patchDate,
|
||||
changelog: app.changelog,
|
||||
isUpdatableApp: true,
|
||||
//TODO: Find a better way to do update functionality
|
||||
onPressed: () =>
|
||||
locator<HomeViewModel>().updatesAreDisabled(),
|
||||
))
|
||||
.toList(),
|
||||
);
|
||||
|
Reference in New Issue
Block a user