mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-09 19:10:51 +00:00
整理:code review & 精简无用资源
This commit is contained in:
parent
866f90831f
commit
27fa30a5e1
@ -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) |
|
||||
|
||||
## 感谢
|
||||
|
@ -67,12 +67,11 @@ See more screenshots:https://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)
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user