整理:code review & 精简无用资源

This commit is contained in:
pppscn 2024-04-08 10:49:01 +08:00
parent 866f90831f
commit 27fa30a5e1
6 changed files with 12 additions and 10 deletions

View File

@ -32,7 +32,7 @@
* 隐私声明: **SmsForwarder 不会收集任何您的隐私数据!!!** APP启动时发送版本信息发送到友盟统计手动检查新版本时发送版本号用于检查新版本除此之外没有任何数据
* 防诈提醒: `SmsForwarder`完全免费开源,请您在 [打赏](https://gitee.com/pp/SmsForwarder/wikis/pages?sort_id=4912193&doc_id=1821427) 前务必确认是否出于自愿?本项目不参与任何刷单返利担保!**请您远离刷单返利陷阱,谨防网络诈骗!**
* 防诈提醒: `SmsForwarder`完全免费开源,请您在 [打赏](https://gitee.com/pp/SmsForwarder/wikis/pages?sort_id=4912193&doc_id=1821427) 前务必确认是否出于自愿?本项目不参与任何刷单返利担保!**请您远离刷单返利陷阱,谨防网络诈骗!**
--------
@ -75,9 +75,9 @@
+ 提交issues 或 pr
+ 加入交流群群内都是机油互帮互助禁止发任何与SmsForwarder使用无关的内容
| TG Group |
| :--: |
| ![TG Group](pic/tg.png "TG Group") |
| TG Group |
|:---------------------------------------------------:|
| ![TG Group](pic/tg.png "TG Group") |
| [+QBZgnL_fxYM0NjE9](https://t.me/+QBZgnL_fxYM0NjE9) |
## 感谢

View File

@ -67,12 +67,11 @@ See more screenshotshttps://github.com/pppscn/SmsForwarder/wiki
+ Submit an issue or Pull Request.
+ Join group chat (only Chinese groups/channels available currently)
| Telegram Group |
| :--: |
| ![Telegram Group](pic/tg.png "Telegram Group") |
| Telegram Group |
|:---------------------------------------------------:|
| ![Telegram Group](pic/tg.png "Telegram Group") |
| [+QBZgnL_fxYM0NjE9](https://t.me/+QBZgnL_fxYM0NjE9) |
## Acknowledgements
> [Thanks to all the enthusiastic netizens who sponsored this project --> Reward list](https://gitee.com/pp/SmsForwarder/wikis/pages?sort_id=4912193&doc_id=1821427)

View File

@ -2,13 +2,13 @@ package com.idormy.sms.forwarder.core.webview
import android.net.Uri
import android.os.Build
import com.idormy.sms.forwarder.utils.Log
import android.webkit.WebResourceRequest
import android.webkit.WebResourceResponse
import android.webkit.WebView
import androidx.annotation.RequiresApi
import com.idormy.sms.forwarder.R
import com.idormy.sms.forwarder.core.webview.WebViewInterceptDialog.Companion.show
import com.idormy.sms.forwarder.utils.Log
import com.just.agentweb.core.client.MiddlewareWebClientBase
import com.xuexiang.xutil.resource.ResUtils.getStringArray
import java.util.Locale

View File

@ -214,6 +214,7 @@ class LogsFragment : BaseFragment<FragmentLogsBinding?>(), MsgPagingAdapter.OnIt
binding!!.recyclerView.scrollToPosition(0)
}
@Suppress("SameParameterValue")
private fun initLogsFilterDialog(needInit: Boolean = false) {
if (logsFilterPopup == null || needInit) {
currentFilter = mutableMapOf()

View File

@ -241,6 +241,7 @@ class AlarmFragment : BaseFragment<FragmentTasksActionAlarmBinding?>(), View.OnC
}
//检查设置
@Suppress("SameParameterValue")
@SuppressLint("SetTextI18n")
private fun checkSetting(updateView: Boolean = false): AlarmSetting {
val volume = binding!!.xsbVolume.selectedNumber

View File

@ -119,7 +119,8 @@
android:layout_height="wrap_content"
android:layout_marginStart="15dp"
android:layout_marginEnd="@dimen/config_margin_10dp"
android:orientation="horizontal">
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"