[6.2.0] fix bug of roma view status

This commit is contained in:
zhongchao
2023-11-14 14:17:28 +08:00
parent 1e2bffc7b3
commit 8f9c744d8d
3 changed files with 6 additions and 6 deletions

View File

@@ -77,8 +77,8 @@ class RomaBusView @JvmOverloads constructor(
}
}
override fun mapRomaInRange(range: Boolean) {
if(range){
override fun romaViewStatus(status: Boolean) {
if(status){
this.visibility = View.VISIBLE
} else {
this.visibility = View.GONE

View File

@@ -68,8 +68,8 @@ class RomaPassengerView @JvmOverloads constructor(
}
}
override fun mapRomaInRange(range: Boolean) {
if(range){
override fun romaViewStatus(status: Boolean) {
if(status){
this.visibility = View.VISIBLE
} else {
this.visibility = View.GONE

View File

@@ -77,8 +77,8 @@ class RomaTaxiView @JvmOverloads constructor(
}
}
override fun mapRomaInRange(range: Boolean) {
if(range){
override fun romaViewStatus(status: Boolean) {
if(status){
this.visibility = View.VISIBLE
} else {
this.visibility = View.GONE