feat: notifications help string

This commit is contained in:
relikd
2025-10-26 20:34:19 +01:00
parent 89f90ddb11
commit b6978662fc
4 changed files with 30 additions and 8 deletions

View File

@@ -57,9 +57,9 @@ NotificationType UserPrefsNotificationType(void) {
/// Convert enum type to storable string
NSString* NotificationTypeToString(NotificationType typ) {
switch (typ) {
case NotificationTypeDisabled: return nil;
case NotificationTypePerArticle: return @"article";
case NotificationTypePerFeed: return @"feed";
case NotificationTypeGlobal: return @"global";
default: return nil;
}
}