Skip to content

Commit

Permalink
Add Fast Download Speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Keeperorowner committed Dec 20, 2024
1 parent 092cfe7 commit 622fbe9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
8 changes: 6 additions & 2 deletions app/src/main/java/cc/ioctl/tmoe/fragment/SettingsFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ class SettingsFragment : BaseHierarchyFragment() {
GhostMode,"GhostMode", R.string.GhostMode,
"GhostModeDesc", R.string.GhostModeDesc,
)
functionSwitch(
FasterDownloadSpeed, "FasterDownloadSpeed", R.string.FasterDownloadSpeed
)
functionSwitch(
AntiAntiForward, "AntiAntiForward", R.string.AntiAntiForward,
"RestrictContentMitigationDesc", R.string.RestrictContentMitigationDesc
Expand All @@ -33,7 +36,8 @@ class SettingsFragment : BaseHierarchyFragment() {
HideSponsoredMsg, "HideSponsoredMsg", R.string.HideSponsoredMsg
)
functionSwitch(FuckTrackingHook, "FuckTrackingHook", R.string.FuckTrackingHook, "FuckTrackingHookDesc", R.string.FuckTrackingHookDesc)
functionSwitch(

/*functionSwitch(
HideUserAvatar.INSTANCE, "HideUserAvatar", R.string.HideUserAvatar,
descProvider = {
if (HideUserAvatar.INSTANCE.isEnabledByUser) {
Expand All @@ -55,7 +59,7 @@ class SettingsFragment : BaseHierarchyFragment() {
Toast.LENGTH_SHORT
).show()
}
)
)*/

functionSwitch(
AntiAntiCopy, "AntiAntiCopy", R.string.AntiAntiCopy,
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
<string name="Misc">Varios</string>
<string name="SourceCode">Código fuente</string>
<string name="LicenseNotices">Avisos de licencia</string>
<string name="HideUserAvatar">Ocultar avatares de usuarios específicos</string>
<string name="NotEnabled">No habilitado</string>
<string name="HideUserAvatarEnabledTargetCount">%1$d usuario(s), %2$d canal(es), %3$d grupo(s)</string>
<string name="NotImplemented">No se ha implementado todavía</string>
<string name="VersionInfo">Versión</string>
<string name="TextCopied">Texto copiado en el portapapeles.</string>
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
<string name="HidePremiumStickerSetTab">Скрыть вкладку Набор премиум стикеров</string>
<string name="HidePremiumStickerSetTabDesc">Только для премиум-пользователей. Скрыть вкладку набора премиум стикеров с панели стикеров.</string>
<string name="HideSponsoredMsg">Скрыть спонсорские сообщения</string>
<string name="HideUserAvatar">Скрыть аватары конкретных пользователей</string>
<string name="HideUserAvatarEnabledTargetCount">%1$d пользователь(ы), %2$d канал(ы), %3$d группа(ы)</string>
<string name="HistoricGroupMemberRecord">Показать исторические группы</string>
<string name="HistoricGroupMemberRecordDesc">Показывать исторические общие группы в профиле пользователя, для которых требуется включить "Постоянный хэш доступа".</string>
<string name="HistoricalNewsOption">Вариант исторических новостей</string>
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
<string name="SourceCode">源代码</string>
<string name="DiscussionGroup">交流群</string>
<string name="LicenseNotices">开放源代码许可</string>
<string name="HideUserAvatar">隐藏指定用户头像</string>
<string name="FasterDownloadSpeed">更快的下载速度</string>
<string name="NotEnabled">未启用</string>
<string name="HideUserAvatarEnabledTargetCount">%1$d 个用户, %2$d 个频道, %3$d 个群组</string>
<string name="NotImplemented">咕咕咕</string>
<string name="VersionInfo">版本</string>
<string name="TextCopied">已复制文本</string>
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
<string name="Misc">其他</string>
<string name="SourceCode">原始碼</string>
<string name="LicenseNotices">開放原始碼許可</string>
<string name="HideUserAvatar">隱藏指定使用者頭像</string>
<string name="FasterDownloadSpeed">更快的下载速度</string>
<string name="NotEnabled">未啟用</string>
<string name="HideUserAvatarEnabledTargetCount">%1$d user(s), %2$d channel(s), %3$d group(s)</string>
<string name="NotImplemented">咕咕咕</string>
<string name="VersionInfo">版本</string>
<string name="TextCopied">已複製文字</string>
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@
<string name="SourceCode">Source code</string>
<string name="DiscussionGroup">Discussion group</string>
<string name="LicenseNotices">License notices</string>
<string name="HideUserAvatar">Hide specific user avatars</string>
<string name="FasterDownloadSpeed">Download boost</string>
<string name="NotEnabled">Not enabled</string>
<string name="HideUserAvatarEnabledTargetCount">%1$d user(s), %2$d channel(s), %3$d group(s)</string>
<string name="NotImplemented">Not implemented yet</string>
<string name="VersionInfo">Version</string>
<string name="TextCopied">Text copied to clipboard.</string>
Expand Down

0 comments on commit 622fbe9

Please sign in to comment.