pull/276/head
gedoor 4 years ago
parent 28eea71890
commit 9c20ff3ea2
  1. 3
      app/src/main/java/io/legado/app/ui/config/OtherConfigFragment.kt
  2. 2
      app/src/main/res/values-zh-rHK/strings.xml
  3. 2
      app/src/main/res/values-zh-rTW/strings.xml
  4. 2
      app/src/main/res/values-zh/strings.xml
  5. 2
      app/src/main/res/values/strings.xml
  6. 6
      app/src/main/res/xml/pref_config_other.xml

@ -74,6 +74,9 @@ class OtherConfigFragment : PreferenceFragmentCompat(),
} }
toast(R.string.clear_cache_success) toast(R.string.clear_cache_success)
} }
"defaultCover" -> {
}
} }
return super.onPreferenceTreeClick(preference) return super.onPreferenceTreeClick(preference)
} }

@ -719,4 +719,6 @@
<string name="alipay_payment_qr_code">支付寶收款二維碼</string> <string name="alipay_payment_qr_code">支付寶收款二維碼</string>
<string name="qq_collection_qr_code">QQ收款二維碼</string> <string name="qq_collection_qr_code">QQ收款二維碼</string>
<string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string> <string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string>
<string name="clear_cache_summary">清除已下载书籍和字体缓存</string>
<string name="default_cover">默认封面</string>
</resources> </resources>

@ -719,5 +719,7 @@
<string name="alipay_payment_qr_code">支付寶收款二維碼</string> <string name="alipay_payment_qr_code">支付寶收款二維碼</string>
<string name="qq_collection_qr_code">QQ收款二維碼</string> <string name="qq_collection_qr_code">QQ收款二維碼</string>
<string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string> <string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string>
<string name="clear_cache_summary">清除已下载书籍和字体缓存</string>
<string name="default_cover">默认封面</string>
</resources> </resources>

@ -719,4 +719,6 @@
<string name="alipay_payment_qr_code">支付宝收款二维码</string> <string name="alipay_payment_qr_code">支付宝收款二维码</string>
<string name="qq_collection_qr_code">QQ收款二维码</string> <string name="qq_collection_qr_code">QQ收款二维码</string>
<string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string> <string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string>
<string name="clear_cache_summary">清除已下载书籍和字体缓存</string>
<string name="default_cover">默认封面</string>
</resources> </resources>

@ -720,5 +720,7 @@
<string name="alipay_payment_qr_code">支付宝收款二维码</string> <string name="alipay_payment_qr_code">支付宝收款二维码</string>
<string name="qq_collection_qr_code">QQ收款二维码</string> <string name="qq_collection_qr_code">QQ收款二维码</string>
<string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string> <string name="contributors_summary">gedoor,Invinciblelee等,详情请在github中查看</string>
<string name="clear_cache_summary">清除已下载书籍和字体缓存</string>
<string name="default_cover">默认封面</string>
</resources> </resources>

@ -31,6 +31,11 @@
app:allowDividerBelow="false" app:allowDividerBelow="false"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<io.legado.app.ui.widget.prefs.Preference
android:key="defaultCover"
android:title="@string/default_cover"
app:iconSpaceReserved="false" />
</io.legado.app.ui.widget.prefs.PreferenceCategory> </io.legado.app.ui.widget.prefs.PreferenceCategory>
<io.legado.app.ui.widget.prefs.PreferenceCategory <io.legado.app.ui.widget.prefs.PreferenceCategory
@ -60,6 +65,7 @@
<io.legado.app.ui.widget.prefs.Preference <io.legado.app.ui.widget.prefs.Preference
android:key="cleanCache" android:key="cleanCache"
android:title="@string/cleanCache" android:title="@string/cleanCache"
android:summary="@string/clear_cache_summary"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<io.legado.app.ui.widget.prefs.SwitchPreference <io.legado.app.ui.widget.prefs.SwitchPreference

Loading…
Cancel
Save