feat: add shake detection functionality and integrate vibration support

This commit is contained in:
Dr-Blank 2024-09-27 20:07:02 -04:00
parent 2e3b1de529
commit 30919e2a5e
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
18 changed files with 908 additions and 52 deletions

View file

@ -281,7 +281,7 @@ extension FormatNotificationTitle on String {
(match) {
final type = match.group(1);
return NotificationTitleType.values
.firstWhere((element) => element.stringValue == type)
.firstWhere((element) => element.name == type)
.extractFrom(book) ??
match.group(0) ??
'';