Skip to content

Commit 1311a09

Browse files
committed
Corrected config key name in toggles.sidebar.stylize() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-auto-talk]
1 parent fb7bbb0 commit 1311a09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.1.26
228+
// @version 2025.1.29
229229
// @license MIT
230230
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c
231231
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c
@@ -807,7 +807,7 @@
807807
+ `.${this.class} > span {` // switch span
808808
+ 'position: relative ; width: 30px ; height: 15px ; border-radius: 28px ;'
809809
+ `background-color: var(--switch-${ // init opposite final color
810-
config.autoclear ? 'disabled' : 'enabled' }-bg-color) ;`
810+
!config.autoTalkDisabled ? 'disabled' : 'enabled' }-bg-color) ;`
811811
+ `bottom: ${ env.ui.firstLink ? 0 : -0.15 }em ;`
812812
+ `left: ${ env.browser.isMobile ? 169 : env.ui.firstLink ? 154 : 160 }px ;`
813813
+ 'transition: 0.4s ; -webkit-transition: 0.4s ; -moz-transition: 0.4s ;'

0 commit comments

Comments
 (0)