File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,10 @@ function onConnect(port) {
178
178
connections . tab [ id ] = port ;
179
179
listener = msg => {
180
180
if ( msg . name === 'INIT_INSTANCE' ) {
181
- if ( typeof id === 'number' ) chrome . pageAction . show ( id ) ;
181
+ if ( typeof id === 'number' ) {
182
+ chrome . pageAction . show ( id ) ;
183
+ chrome . pageAction . setIcon ( { tabId : id , path : 'img/logo/38x38.png' } ) ;
184
+ }
182
185
if ( isMonitored ) port . postMessage ( { type : 'START' } ) ;
183
186
184
187
const state = window . store . getState ( ) ;
Original file line number Diff line number Diff line change 6
6
"homepage_url" : " https://github.com/zalmoxisus/redux-devtools-extension" ,
7
7
"manifest_version" : 2 ,
8
8
"page_action" : {
9
- "default_icon" : " img/logo/38x38 .png" ,
9
+ "default_icon" : " img/logo/gray .png" ,
10
10
"default_title" : " Redux DevTools" ,
11
11
"default_popup" : " window.html#popup"
12
12
},
You can’t perform that action at this time.
0 commit comments