parent
125f18ad11
commit
e80d97d2ba
Binary file not shown.
|
After Width: | Height: | Size: 105 KiB |
|
|
@ -26,8 +26,14 @@ if (process.defaultApp) {
|
|||
app.setAsDefaultProtocolClient(APP_PROTOCOL)
|
||||
}
|
||||
|
||||
const iconMap = {
|
||||
prod: path.join(__dirname, "../../resources/icon.png"),
|
||||
dev: path.join(__dirname, "../../resources/icon-dev.png"),
|
||||
}
|
||||
if (app.dock) {
|
||||
app.dock.setIcon(path.join(__dirname, "../../resources/icon.png"))
|
||||
app.dock.setIcon(
|
||||
process.env.NODE_ENV === "development" ? iconMap.dev : iconMap.prod,
|
||||
)
|
||||
}
|
||||
|
||||
// This method will be called when Electron has finished
|
||||
|
|
|
|||
|
|
@ -55,13 +55,6 @@ export const ModalInternal: Component<{
|
|||
[close],
|
||||
)
|
||||
|
||||
// const { opaque, overlay: defaultOverlay } = useUIStore(
|
||||
// useShallow((state) => ({
|
||||
// overlay: state.modalOverlay,
|
||||
// opaque: state.modalOpaque,
|
||||
// })),
|
||||
// )
|
||||
// const opaque = useUIStore((state) => state.modalOpaque)
|
||||
const opaque = useUISettingKey("modalOpaque")
|
||||
|
||||
const {
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ const ListHeader: FC<{
|
|||
</ActionButton>
|
||||
)}
|
||||
<ActionButton
|
||||
tooltip={`${unreadOnly ? "Unread Only" : "All"}`}
|
||||
tooltip={unreadOnly ? "Unread Only" : "All"}
|
||||
shortcut={shortcuts.entries.toggleUnreadOnly.key}
|
||||
onClick={() => setUnreadOnly(!unreadOnly)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue