Skip to content

Commit 861e845

Browse files
committed
remove API handler revoke from main
1 parent 0984b2f commit 861e845

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

electron.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function createWindow () {
159159

160160
installNativeMessagingHost();
161161

162-
ipcMain.removeHandler('Api');
162+
//ipcMain.removeHandler('Api');
163163
ipcMain.handle('Api', (e, id, cmd, args) => {
164164
const Api = require('./electron/js/api.js');
165165
const win = BrowserWindow.fromId(id);

src/scss/block/chat/attachment.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
.attachment.isVideo { width: 72px; height: 72px; min-width: unset; display: flex; align-items: center; justify-content: center; }
6060
.attachment.isVideo {
6161
.mediaVideo { border-radius: inherit; overflow: hidden; width: 100%; height: 100%; }
62-
video { width: 100%; display: block; object-fit: cover; }
62+
video { width: 100%; height: 100%; display: block; object-fit: cover; }
6363
}
6464

6565
.attachment.isAudio { min-width: unset; }

0 commit comments

Comments
 (0)