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-18 20:02:06 -0700
committerAllan Wang <me@allanwang.ca>2020-07-18 20:02:06 -0700
commit5eb18e7464ceb5b7029912498ab02cf9b2556903 (patch)
tree32d184c7ef27eeaf5f6639bc9300d5cb822d372a /app/src/main/kotlin/com/pitchedapps/frost/facebook/FbConst.kt
parent0fc1e0c9c13c6cf551f985c3617f1bcaf8f62aa6 (diff)
downloadfrost-5eb18e7464ceb5b7029912498ab02cf9b2556903.tar.gz
frost-5eb18e7464ceb5b7029912498ab02cf9b2556903.tar.bz2
frost-5eb18e7464ceb5b7029912498ab02cf9b2556903.zip
Split prefs into segments
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