fix: trying to fix the crash by fixing some data racing in the widgets (#1578)

This commit is contained in:
Serhiy Mytrovtsiy
2023-08-19 09:39:18 +02:00
parent c5a3657957
commit 5030d22ec5
15 changed files with 198 additions and 349 deletions

View File

@@ -1091,7 +1091,7 @@ private class ModeButtons: NSStackView {
if !Store.shared.bool(key: "Sensors_turnOffFanAlert", defaultValue: false) {
let alert = NSAlert()
alert.messageText = localizedString("Turn off fan")
alert.informativeText = localizedString("You are going to turn off the fan. That is not recommended action that can broke your mac, are you sure you want to do that?")
alert.informativeText = localizedString("You are going to turn off the fan. This is not recommended action that can damage your mac, are you sure you want to do that?")
alert.showsSuppressionButton = true
alert.addButton(withTitle: localizedString("Turn off"))
alert.addButton(withTitle: localizedString("Cancel"))