Skip to content

Commit

Permalink
fix: Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomershvueli committed Jul 18, 2021
1 parent fd074a2 commit 064b848
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/macos/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const createWindow = () => {
contextIsolation: false,
},
});

window.webContents.openDevTools();
// This is so that Geniemoji shows up on all desktops/workspaces
window.setVisibleOnAllWorkspaces(true);

Expand Down Expand Up @@ -123,7 +123,7 @@ ipcMain.handle("getEmojisForSearchString", (_event, arg) => {
.sort((a, b) => {
if (lruMap.has(a.char) && !lruMap.has(b.char)) {
// A is in recently used and B is not
return -1;
return -1;
} else if (!lruMap.has(a.char) && lruMap.has(b.char)) {
// B is in recently used and A is not
return 1;
Expand Down
2 changes: 1 addition & 1 deletion app/windowsNlinux/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ipcMain.handle("getEmojisForSearchString", (_event, arg) => {
.sort((a, b) => {
if (lruMap.has(a.char) && !lruMap.has(b.char)) {
// A is in recently used and B is not
return -1;
return -1;
} else if (!lruMap.has(a.char) && lruMap.has(b.char)) {
// B is in recently used and A is not
return 1;
Expand Down

0 comments on commit 064b848

Please sign in to comment.