mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-13 09:15:47 +02:00
Allow detecting custom edit-design themes in analytics
This commit is contained in:
parent
7cf3f1d32c
commit
43f632b555
@ -243,6 +243,7 @@ enabled(){
|
||||
|
||||
modal.find("[data-td-theme]").change(function(){
|
||||
let theme = $(this).attr("data-td-theme");
|
||||
me.config._theme = theme;
|
||||
|
||||
if (theme === "black"){
|
||||
me.config.themeOverride = theme;
|
||||
@ -252,8 +253,6 @@ enabled(){
|
||||
me.config.themeOverride = false;
|
||||
}
|
||||
|
||||
me.config._theme = theme;
|
||||
|
||||
setTimeout(function(){
|
||||
if (theme != TD.settings.getTheme()){
|
||||
$(document).trigger("uiToggleTheme");
|
||||
|
Loading…
Reference in New Issue
Block a user