mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-05-23 15:52:17 +00:00
Add notification 2024 icon style + updated default icon style.
Adds in the 2024 Icon Style to Notifications nostalgic customization settings, the 2024 Icon style was originally used as the Default style but ever since YouTube introduced new notifications icons in 2025 I opted to use the most recent ones for the customization!
This commit is contained in:
parent
37a80a616f
commit
7a633161cb
1 changed files with 9 additions and 5 deletions
|
|
@ -37,20 +37,24 @@ static int getNotificationIconStyle() {
|
|||
NSString *imageName;
|
||||
UIColor *iconColor;
|
||||
switch (getNotificationIconStyle()) {
|
||||
case 1: // Thin outline style (2020+)
|
||||
case 1: // Bold outline style (2024+)
|
||||
imageName = isSelected ? @"notifications_selected" : @"notifications_unselected";
|
||||
iconColor = [%c(YTColor) white1];
|
||||
break;
|
||||
case 2: // Thin outline style (2020+)
|
||||
imageName = isSelected ? @"notifications_selected" : @"notifications_24pt";
|
||||
iconColor = [%c(YTColor) white1];
|
||||
break;
|
||||
case 2: // Filled style (2018+)
|
||||
case 3: // Filled style (2018+)
|
||||
imageName = @"notifications_selected";
|
||||
iconColor = isSelected ? [%c(YTColor) white1] : [UIColor grayColor];
|
||||
break;
|
||||
case 3: // Inbox style (2014+)
|
||||
case 4: // Inbox style (2014+)
|
||||
imageName = @"inbox_selected";
|
||||
iconColor = isSelected ? [%c(YTColor) white1] : [UIColor grayColor];
|
||||
break;
|
||||
default: // Default style
|
||||
imageName = isSelected ? @"notifications_selected" : @"notifications_unselected";
|
||||
default: // Default style (2025+)
|
||||
imageName = isSelected ? @"notifications_selected_2025" : @"notifications_unselected_2025";
|
||||
iconColor = [%c(YTColor) white1];
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue