aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-07-19 15:46:09 -0700
committerGitHub <noreply@github.com>2020-07-19 15:46:09 -0700
commit2cff5ce38e8a9fa32ee196ca911414e0b2f7e19e (patch)
tree09a756d7de8e8dcde58335c9b854119e925c03b5 /app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt
parent7efc3d6f6f95ca9d3323009b5f66d883041a7974 (diff)
parent983a3dfa7462316df4dc01b583edf0cbe7a9d606 (diff)
downloadfrost-2cff5ce38e8a9fa32ee196ca911414e0b2f7e19e.tar.gz
frost-2cff5ce38e8a9fa32ee196ca911414e0b2f7e19e.tar.bz2
frost-2cff5ce38e8a9fa32ee196ca911414e0b2f7e19e.zip
Merge pull request #1699 from AllanWang/prefs
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt
index e36abd15..61745b95 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt
@@ -41,6 +41,7 @@ const val FB_HOME_URL = "${FB_URL_BASE}home.php"
// Default user agent
const val USER_AGENT_MOBILE_CONST =
"Mozilla/5.0 (Linux; Android 8.0.0; ONEPLUS A3000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36"
+
// Desktop agent, for pages like messages
const val USER_AGENT_DESKTOP_CONST =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Safari/537.36"
@@ -52,6 +53,7 @@ const val USER_AGENT = USER_AGENT_DESKTOP_CONST
* have properly set in
*/
const val WEB_LOAD_DELAY = 50L
+
/**
* Additional delay for transition when called from commit.
* Note that transitions are also called from onFinish, so this value