fix: fixed swap notification id (#2208)

This commit is contained in:
Serhiy Mytrovtsiy
2024-11-16 15:53:15 +01:00
parent 86a9870a1a
commit e32acb8c16
3 changed files with 3 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ class Notifications: NotificationsWrapper {
if self.swapState {
let value = Units(bytes: Int64(value.swap.used))
let subtitle = "\(localizedString("Swap size")): \(value.getReadableMemory())"
self.checkDouble(id: self.freeID, value: value.toUnit(self.swapUnit), threshold: Double(self.swap), title: title, subtitle: subtitle)
self.checkDouble(id: self.swapID, value: value.toUnit(self.swapUnit), threshold: Double(self.swap), title: title, subtitle: subtitle)
}
}