feat(mac): added remove installed package support

This commit is contained in:
Gabriel Schantz 2026-07-21 15:22:47 -04:00
parent c363a21997
commit 9bb1c0ba38

View file

@ -66,8 +66,7 @@ struct MainConfigView: View {
Button("Cancel", role: .cancel) { }
Button("Delete", role: .destructive) {
// FEAT/MAC/CONFIG-WINDOW TODO: Make removeInstalledPackage based on id
//settings.removeInstalledPackage(at: index)
settings.removeInstalledPackage(with: package.id)
}
} message: { package in
Text("You can't undo this action.")