mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
bb19ad68fc
commit
00f56911d7
@ -19,7 +19,6 @@ import androidx.appcompat.widget.PopupMenu
|
|||||||
import androidx.core.view.isGone
|
import androidx.core.view.isGone
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
import io.legado.app.R
|
import io.legado.app.R
|
||||||
import io.legado.app.constant.AppLog
|
|
||||||
import io.legado.app.constant.PreferKey
|
import io.legado.app.constant.PreferKey
|
||||||
import io.legado.app.databinding.ViewReadMenuBinding
|
import io.legado.app.databinding.ViewReadMenuBinding
|
||||||
import io.legado.app.help.IntentData
|
import io.legado.app.help.IntentData
|
||||||
@ -265,7 +264,6 @@ class ReadMenu @JvmOverloads constructor(
|
|||||||
val params = window.attributes
|
val params = window.attributes
|
||||||
params.screenBrightness = brightness
|
params.screenBrightness = brightness
|
||||||
window.attributes = params
|
window.attributes = params
|
||||||
AppLog.put("设置亮度$brightness")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user