Update Gradle

This commit is contained in:
Jonas Lochmann 2023-04-10 02:00:00 +02:00
parent fb479083bf
commit 66496eb96f
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36
6 changed files with 10 additions and 14 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
TimeLimit Copyright <C> 2019 - 2022 Jonas Lochmann
TimeLimit Copyright <C> 2019 - 2023 Jonas Lochmann
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 3 of the License.
@ -14,8 +14,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.timelimit.android">
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />

View file

@ -405,7 +405,7 @@ class EditTimeLimitRuleDialogFragment : BottomSheetDialogFragment() {
// from https://stackoverflow.com/a/43602359
dialog.setOnShowListener {
BottomSheetBehavior.from(
dialog.findViewById<View>(R.id.design_bottom_sheet)
dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
).setState(BottomSheetBehavior.STATE_EXPANDED)
}