diff --git a/src/App.vue b/src/App.vue index 0f884bf..de16c82 100644 --- a/src/App.vue +++ b/src/App.vue @@ -37,7 +37,7 @@ export default { mixins: [NotificationSchedule], computed: { isLayoutInverted() { - return this.$store.getters['Settings/isLayoutInvertedForOs']; + return this.$store.getters['Settings/isLayoutInverted']; }, }, }; diff --git a/src/components/TabHeader.vue b/src/components/TabHeader.vue index 872b3c9..739e5de 100644 --- a/src/components/TabHeader.vue +++ b/src/components/TabHeader.vue @@ -57,7 +57,7 @@ export default { }, computed: { isLayoutInverted() { - return this.$store.getters['Settings/isLayoutInvertedForOs']; + return this.$store.getters['Settings/isLayoutInverted']; }, pageState() { return this.$store.getters['Pages/state'](this.item.id); diff --git a/src/components/WindowControls.vue b/src/components/WindowControls.vue index 9ee1ca9..30efa7a 100644 --- a/src/components/WindowControls.vue +++ b/src/components/WindowControls.vue @@ -58,7 +58,7 @@ export default { return this.$electron.remote.getCurrentWindow(); }, isLayoutInverted() { - return this.$store.getters['Settings/isLayoutInvertedForOs']; + return this.$store.getters['Settings/isLayoutInverted']; }, }, created() { diff --git a/src/store/modules/Settings.js b/src/store/modules/Settings.js index d7b5520..f75581b 100644 --- a/src/store/modules/Settings.js +++ b/src/store/modules/Settings.js @@ -12,14 +12,6 @@ export default { isLayoutInverted({ isLayoutInverted }) { return isLayoutInverted; }, - isLayoutInvertedForOs({ isLayoutInverted }) { - switch (process.platform) { - case 'darwin': - return isLayoutInverted; - default: - return !isLayoutInverted; - } - }, muteOnWindowBlur({ muteOnWindowBlur }) { return muteOnWindowBlur; },