mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-27 18:17:40 +00:00
feat(mac): added remove installed package support
This commit is contained in:
parent
c363a21997
commit
9bb1c0ba38
1 changed files with 1 additions and 2 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue