()
| 9 | } |
| 10 | |
| 11 | export async function loggedOut(): Promise<void> { |
| 12 | await Promise.all([ |
| 13 | chrome.action.setPopup({ popup: 'popup.html' }), |
| 14 | chrome.action.setBadgeText({ text: 'Login' }), |
| 15 | chrome.action.setIcon({ |
| 16 | path: { |
| 17 | 16: '/icons/16/codeium_square_inactive.png', |
| 18 | 32: '/icons/32/codeium_square_inactive.png', |
| 19 | 48: '/icons/48/codeium_square_inactive.png', |
| 20 | 128: '/icons/128/codeium_square_inactive.png', |
| 21 | }, |
| 22 | }), |
| 23 | chrome.action.setTitle({ title: 'Codeium' }), |
| 24 | clearLastError(), |
| 25 | ]); |
| 26 | } |
| 27 | |
| 28 | export async function loggedIn(): Promise<void> { |
| 29 | await Promise.all([ |
no test coverage detected