From ee2f5ae8cba7eb96ba55757538a30cba4cb6efb8 Mon Sep 17 00:00:00 2001
From: chylex <contact@chylex.com>
Date: Sat, 4 Nov 2017 03:30:50 +0100
Subject: [PATCH] Disable default TweetDeck update notification

---
 Resources/Scripts/code.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js
index a733b535..2b7212a9 100644
--- a/Resources/Scripts/code.js
+++ b/Resources/Scripts/code.js
@@ -1290,6 +1290,14 @@
     });
   }
   
+  //
+  // Block: Disable default TweetDeck update notification, as the app usually reloads automatically every so often.
+  //
+  onAppReady.push(function(){
+    let events = $._data(document, "events");
+    delete events["uiSuggestRefreshToggle"];
+  });
+  
   //
   // Block: Disable TweetDeck metrics.
   //