Skip to content

Commit 251370a

Browse files
authored
fix: lint error fixes (#310)
1 parent 7d8e631 commit 251370a

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

pluto-plugins/base/lib/src/main/java/com/pluto/utilities/views/keyvalue/edit/KeyValuePairEditDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class KeyValuePairEditDialog : BottomSheetDialogFragment() {
3838
super.onViewCreated(view, savedInstanceState)
3939
dialog?.setOnShowListener {
4040
val dialog = it as BottomSheetDialog
41-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
41+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
4242
bottomSheet?.let {
4343
dialog.behavior.peekHeight = Device(requireContext()).screen.heightPx
4444
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

pluto-plugins/plugins/layout-inspector/lib/src/main/java/com/pluto/plugins/layoutinspector/internal/attributes/ViewAttrFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ internal class ViewAttrFragment : BottomSheetDialogFragment() {
7474
super.onViewCreated(view, savedInstanceState)
7575
dialog?.setOnShowListener {
7676
val dialog = it as BottomSheetDialog
77-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
77+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
7878
bottomSheet?.let {
7979
dialog.behavior.peekHeight = Device(requireContext()).screen.heightPx
8080
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

pluto-plugins/plugins/rooms-database/lib/src/main/java/com/pluto/plugins/rooms/db/internal/ui/ActionsFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ internal class ActionsFragment : BottomSheetDialogFragment() {
3131
super.onViewCreated(view, savedInstanceState)
3232
dialog?.setOnShowListener {
3333
val dialog = it as BottomSheetDialog
34-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
34+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
3535
bottomSheet?.let {
3636
dialog.behavior.peekHeight = Device(requireContext()).screen.heightPx
3737
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

pluto-plugins/plugins/rooms-database/lib/src/main/java/com/pluto/plugins/rooms/db/internal/ui/ColumnDetailsFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ internal class ColumnDetailsFragment : BottomSheetDialogFragment() {
4040
super.onViewCreated(view, savedInstanceState)
4141
dialog?.setOnShowListener {
4242
val dialog = it as BottomSheetDialog
43-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
43+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
4444
bottomSheet?.let {
4545
dialog.behavior.peekHeight = Device(requireContext()).screen.heightPx
4646
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

pluto-plugins/plugins/rooms-database/lib/src/main/java/com/pluto/plugins/rooms/db/internal/ui/EditFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ internal class EditFragment : BottomSheetDialogFragment() {
8383
super.onViewCreated(view, savedInstanceState)
8484
dialog?.setOnShowListener {
8585
val dialog = it as BottomSheetDialog
86-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
86+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
8787
bottomSheet?.let {
8888
dialog.behavior.peekHeight = deviceInfo.screen.heightPx
8989
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

pluto-plugins/plugins/rooms-database/lib/src/main/java/com/pluto/plugins/rooms/db/internal/ui/TableSchemaFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal class TableSchemaFragment : BottomSheetDialogFragment() {
3737
super.onViewCreated(view, savedInstanceState)
3838
dialog?.setOnShowListener {
3939
val dialog = it as BottomSheetDialog
40-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
40+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
4141
bottomSheet?.let {
4242
dialog.behavior.peekHeight = Device(requireContext()).screen.heightPx
4343
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

pluto-plugins/plugins/rooms-database/lib/src/main/java/com/pluto/plugins/rooms/db/internal/ui/filter/FilterFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ internal class FilterFragment : BottomSheetDialogFragment() {
4848
super.onViewCreated(view, savedInstanceState)
4949
dialog?.setOnShowListener {
5050
val dialog = it as BottomSheetDialog
51-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
51+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
5252
bottomSheet?.let {
5353
dialog.behavior.peekHeight = Device(requireContext()).screen.heightPx
5454
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

sample/src/main/java/com/sampleapp/AskPermissionFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AskPermissionFragment : BottomSheetDialogFragment() {
3131
super.onViewCreated(view, savedInstanceState)
3232
dialog?.setOnShowListener {
3333
val dialog = it as BottomSheetDialog
34-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
34+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
3535
bottomSheet?.let {
3636
dialog.behavior.peekHeight = requireContext().getScreen().second
3737
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

sample/src/main/java/com/sampleapp/ContainerFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ContainerFragment : BottomSheetDialogFragment() {
3434
super.onViewCreated(view, savedInstanceState)
3535
dialog?.setOnShowListener {
3636
val dialog = it as BottomSheetDialog
37-
val bottomSheet = dialog.findViewById<View>(com.google.android.material.R.id.design_bottom_sheet)
37+
val bottomSheet = dialog.findViewById<View>(R.id.design_bottom_sheet)
3838
bottomSheet?.let {
3939
dialog.behavior.peekHeight = requireContext().getScreen().second
4040
dialog.behavior.state = BottomSheetBehavior.STATE_EXPANDED

0 commit comments

Comments
 (0)