|
|
|
@ -184,7 +184,7 @@ open class BottomSheetFragment : BottomSheetDialogFragment() { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Set clear button visibility |
|
|
|
* Set clear button visibility |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
fun setClearButtonVisibile(visible: Boolean) { |
|
|
|
fun setClearButtonVisible(visible: Boolean) { |
|
|
|
bottomSheetToolbar?.let { |
|
|
|
bottomSheetToolbar?.let { |
|
|
|
bottomSheetToolbar.menu.findItem(R.id.actionClear).isVisible = visible |
|
|
|
bottomSheetToolbar.menu.findItem(R.id.actionClear).isVisible = visible |
|
|
|
} |
|
|
|
} |
|
|
|
@ -193,7 +193,7 @@ open class BottomSheetFragment : BottomSheetDialogFragment() { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Set check button visibility |
|
|
|
* Set check button visibility |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
fun setCheckButtonVisibile(visible: Boolean) { |
|
|
|
fun setCheckButtonVisible(visible: Boolean) { |
|
|
|
bottomSheetToolbar.menu.findItem(R.id.actionCheck).isVisible = visible |
|
|
|
bottomSheetToolbar.menu.findItem(R.id.actionCheck).isVisible = visible |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|