buffer value changes added for existing and new buffer
This commit is contained in:
@@ -120,12 +120,12 @@ class HemoCubeFragment : Fragment() {
|
||||
binding.tvSubtitle4.text = "Config"
|
||||
|
||||
|
||||
if (isBufferValueAvailable() || !Constants.BLANK_EVERY_TEST) {
|
||||
if (isBufferValueAvailable()){
|
||||
binding.btnPlacebuffer.apply {
|
||||
setBackgroundColor(Color.GREEN) // Set button background color to green
|
||||
text = "Fresh Buffer" // Change button text to "Buffer Exists"
|
||||
}
|
||||
}else if(!isBufferValueAvailable() || Constants.BLANK_EVERY_TEST){
|
||||
}else{
|
||||
binding.btnPlacebuffer.apply {
|
||||
setBackgroundColor(Color.RED) // Set button background color to green
|
||||
text = "No Buffer" // Change button text to "Buffer Exists"
|
||||
|
||||
Reference in New Issue
Block a user