diff options
author | 2021-05-12 01:26:51 +0530 | |
---|---|---|
committer | 2021-05-11 21:56:51 +0200 | |
commit | 80d7ef19dbb4271416bd8b5bbf938e180c57e5f3 (patch) | |
tree | ec99db3b3b0727d7ac81c1ead70e17db0c1bb6b3 /src/lib/DBus.js | |
parent | Fixing issue with icons being garbled due to misconfiguration of gulp (diff) | |
download | ferdium-app-80d7ef19dbb4271416bd8b5bbf938e180c57e5f3.tar.gz ferdium-app-80d7ef19dbb4271416bd8b5bbf938e180c57e5f3.tar.zst ferdium-app-80d7ef19dbb4271416bd8b5bbf938e180c57e5f3.zip |
Method reuse (#1379)
* Used already exported common functions to avoid the same logic being repeated.
* Use a different package to retrieve the os-name for the 'About Dialog'.
Diffstat (limited to 'src/lib/DBus.js')
-rw-r--r-- | src/lib/DBus.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/DBus.js b/src/lib/DBus.js index 957912efa..9baaea014 100644 --- a/src/lib/DBus.js +++ b/src/lib/DBus.js | |||
@@ -1,9 +1,5 @@ | |||
1 | import { | 1 | import { sessionBus } from 'dbus-next'; |
2 | sessionBus, | 2 | import { isLinux } from '../environment'; |
3 | } from 'dbus-next'; | ||
4 | import { | ||
5 | isLinux, | ||
6 | } from '../environment'; | ||
7 | 3 | ||
8 | export default class DBus { | 4 | export default class DBus { |
9 | bus = null; | 5 | bus = null; |