aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/UserAgent.js
diff options
context:
space:
mode:
authorLibravatar Aditya Mangalampalli <aditya.mangalampalli@gmail.com>2022-04-15 02:00:25 -0700
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-16 21:57:57 +0530
commit210131ca184c3aa043371857c022aa1aa149efbf (patch)
tree6bc4e10a1540e55a66146c099bc468a12287425e /src/models/UserAgent.js
parentUpdate submodule url to ferdium-recipes (#1) (diff)
downloadferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.gz
ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.zst
ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.zip
Matched casing for almost all replacements
Diffstat (limited to 'src/models/UserAgent.js')
-rw-r--r--src/models/UserAgent.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/UserAgent.js b/src/models/UserAgent.js
index f971fb08a..caacb6797 100644
--- a/src/models/UserAgent.js
+++ b/src/models/UserAgent.js
@@ -2,7 +2,7 @@ import { action, computed, observe, observable } from 'mobx';
2 2
3import defaultUserAgent from '../helpers/userAgent-helpers'; 3import defaultUserAgent from '../helpers/userAgent-helpers';
4 4
5const debug = require('debug')('Ferdi:UserAgent'); 5const debug = require('debug')('Ferdium:UserAgent');
6 6
7export default class UserAgent { 7export default class UserAgent {
8 _willNavigateListener = null; 8 _willNavigateListener = null;
@@ -37,7 +37,7 @@ export default class UserAgent {
37 if (typeof this.getUserAgent === 'function') { 37 if (typeof this.getUserAgent === 'function') {
38 return this.getUserAgent(); 38 return this.getUserAgent();
39 } 39 }
40 const globalPref = window['ferdi'].stores.settings.all.app.userAgentPref; 40 const globalPref = window['ferdium'].stores.settings.all.app.userAgentPref;
41 if (typeof globalPref === 'string') { 41 if (typeof globalPref === 'string') {
42 const trimmed = globalPref.trim(); 42 const trimmed = globalPref.trim();
43 if (trimmed !== '') { 43 if (trimmed !== '') {