mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 20:22:00 +00:00 
			
		
		
		
	Fix TRUE number of notifications
				
					
				
			`update_ticker_count` used to use STORAGE_KEY_STREAM to get the number of notifications which is a boolean value, now it uses STORAGE_KEY_NOTIF_COUNT which is an integer
This commit is contained in:
		| @@ -77,7 +77,7 @@ function create_notification_stream(subscriptions) { | ||||
| function update_ticker_count() { | ||||
|     var notification_ticker = document.getElementById('notification_ticker'); | ||||
|  | ||||
|     const notification_count = helpers.storage.get(STORAGE_KEY_STREAM); | ||||
|     const notification_count = helpers.storage.get(STORAGE_KEY_NOTIF_COUNT); | ||||
|     if (notification_count > 0) { | ||||
|         notification_ticker.innerHTML = | ||||
|             '<span id="notification_count">' + notification_count + '</span> <i class="icon ion-ios-notifications"></i>'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fieryhenry
					fieryhenry