Explorar el Código

refactor: remove BgTabReplaced, doesn't exist in Firefox

Jocelyn Boullier hace 4 años
padre
commit
420833ef79
Se han modificado 2 ficheros con 0 adiciones y 2 borrados
  1. 0 1
      src/Model/Events.purs
  2. 0 1
      src/Sidebar/Sidebar.purs

+ 0 - 1
src/Model/Events.purs

@@ -21,7 +21,6 @@ data BackgroundEvent
   | BgTabAttached Tab
   | BgTabDetached TabId
   | BgTabHighlighted
-  | BgTabReplaced
   | BgTabZoomChanged
 
 derive instance genBackgroundEvent :: Generic BackgroundEvent _

+ 0 - 1
src/Sidebar/Sidebar.purs

@@ -70,7 +70,6 @@ onBackgroundMsgConsumer query =
           void $ query $ H.tell $ Tabs.TabAttached tab
           pure Nothing
         BgTabHighlighted -> pure Nothing
-        BgTabReplaced -> pure Nothing
         BgTabZoomChanged -> pure Nothing
 
 onSidebarMsg :: Runtime.Port -> CR.Consumer SidebarEvent Aff Unit