From 86513d70dd57ce548a3c9bce177c448b42f44a2b Mon Sep 17 00:00:00 2001 From: wn_ Date: Fri, 26 Feb 2021 12:21:54 +0000 Subject: [PATCH] Fix the type hint for '_DEFAULT_VIEW_MODE'. --- classes/prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/prefs.php b/classes/prefs.php index 8eba40ad5..703246e9c 100644 --- a/classes/prefs.php +++ b/classes/prefs.php @@ -76,7 +76,7 @@ class Prefs { Prefs::DIGEST_ENABLE => [ false, Config::T_BOOL ], Prefs::CONFIRM_FEED_CATCHUP => [ true, Config::T_BOOL ], Prefs::CDM_AUTO_CATCHUP => [ false, Config::T_BOOL ], - Prefs::_DEFAULT_VIEW_MODE => [ "adaptive", Config::T_BOOL ], + Prefs::_DEFAULT_VIEW_MODE => [ "adaptive", Config::T_STRING ], Prefs::_DEFAULT_VIEW_LIMIT => [ 30, Config::T_INT ], //Prefs::_PREFS_ACTIVE_TAB => [ "", Config::T_STRING ], //Prefs::STRIP_UNSAFE_TAGS => [ true, Config::T_BOOL ],