[gnome-sound-recorder] preferences: fix channels selection
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] preferences: fix channels selection
- Date: Sat, 4 Apr 2020 20:05:00 +0000 (UTC)
commit 0eba93cad491849eaf6b715af7ce822fc670678e
Author: Julian Richen <julian richen io>
Date: Sat Apr 4 15:12:30 2020 -0400
preferences: fix channels selection
When refactoring the code base GSetting options are now called
differently. This fix properly references the channels option so
users can pick Mono or Stereo.
src/record.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/record.js b/src/record.js
index 632db3d..cc547c5 100644
--- a/src/record.js
+++ b/src/record.js
@@ -293,7 +293,7 @@ var Record = class Record {
_getChannels() {
let channels = null;
- let channelsPref = Settings.channel;
+ let channelsPref = Settings.settings.channel;
switch (channelsPref) {
case Channels.MONO:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]