aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/arrays.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-04-30 07:29:56 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-04-30 07:29:56 +0000
commit4678caa92bad919201b53000e8d4100bf253c497 (patch)
tree4f8bc00995dd35881103083568f5e0caba500b53 /app/src/main/res/values/arrays.xml
parent5c053501192e0d9da87d7823c910e79d01cddafc (diff)
downloadinfinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar
infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.gz
infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.bz2
infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.lz
infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.xz
infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.tar.zst
infinity-for-reddit-4678caa92bad919201b53000e8d4100bf253c497.zip
Add an option for video autoplay. Rewrite some viewholders in PostRecyclerViewAdapter.
Diffstat (limited to 'app/src/main/res/values/arrays.xml')
-rw-r--r--app/src/main/res/values/arrays.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 4adfdff9..b415b0f5 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -47,6 +47,18 @@
<item>1</item>
</string-array>
+ <string-array name="settings_video_autoplay">
+ <item>Always On</item>
+ <item>Only on Wifi</item>
+ <item>Never</item>
+ </string-array>
+
+ <string-array name="settings_video_autoplay_values">
+ <item>2</item>
+ <item>1</item>
+ <item>0</item>
+ </string-array>
+
<string-array name="settings_lazy_mode_interval">
<item>1s</item>
<item>2s</item>