mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-06 19:40:08 +02:00
📝 TODO items as warnings
This commit is contained in:
@ -52,6 +52,8 @@ class RemovePhpExtensionCommand: BrewCommand {
|
||||
|
||||
await MainMenu.shared.refreshActiveInstallation()
|
||||
|
||||
#warning("Remaining config files should be cleaned up")
|
||||
|
||||
onProgress(.create(value: 1, title: getCommandTitle(), description: "phpman.steps.success".localized))
|
||||
} else {
|
||||
throw BrewCommandError(error: "phpman.steps.failure".localized, log: loggedMessages)
|
||||
|
@ -81,7 +81,7 @@ struct PhpExtensionManagerView: View {
|
||||
HStack(alignment: .center, spacing: 7.0) {
|
||||
VStack(alignment: .center, spacing: 0) {
|
||||
HStack {
|
||||
Image(systemName: bExtension.isInstalled
|
||||
Image(systemName: bExtension.isInstalled
|
||||
? "puzzlepiece.extension.fill"
|
||||
: "puzzlepiece.extension")
|
||||
.resizable()
|
||||
@ -99,6 +99,7 @@ struct PhpExtensionManagerView: View {
|
||||
HStack {
|
||||
if bExtension.isInstalled {
|
||||
Button("phpman.buttons.uninstall".localizedForSwiftUI, role: .destructive) {
|
||||
#warning("Removal should ask for confirmation")
|
||||
Task { await self.runCommand(
|
||||
RemovePhpExtensionCommand(remove: bExtension)
|
||||
) }
|
||||
|
Reference in New Issue
Block a user