diff --git a/apps/remix-ide/src/app/files/dgitProvider.js b/apps/remix-ide/src/app/files/dgitProvider.js index 78e3787ef4..256b7a1203 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.js +++ b/apps/remix-ide/src/app/files/dgitProvider.js @@ -240,7 +240,7 @@ class DGitProvider extends Plugin { async branches(config) { if (isElectron()) { - return await this.call('isogit', 'branches', config) + return await this.call('isogit', 'branches') } try { diff --git a/apps/remixdesktop/src/menus/file.ts b/apps/remixdesktop/src/menus/file.ts index 9ced4a8cc2..431f1b560e 100644 --- a/apps/remixdesktop/src/menus/file.ts +++ b/apps/remixdesktop/src/menus/file.ts @@ -36,6 +36,13 @@ export default ( role: 'clearRecentDocuments' } ] + }, + { + role: 'close', + accelerator: commandKeys['window:close'] + }, + { + role: 'quit', } ] }; diff --git a/apps/remixdesktop/src/tools/git.ts b/apps/remixdesktop/src/tools/git.ts index 253b8afec9..e7040597e2 100644 --- a/apps/remixdesktop/src/tools/git.ts +++ b/apps/remixdesktop/src/tools/git.ts @@ -14,7 +14,7 @@ const statusTransFormMatrix = (status: string) => { case 'MM': return [1, 2, 3] case ' M': - return [1, 2, 1] + return [1, 2, 0] case ' D': return [0, 2, 0] case 'D ':