We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5cd7e commit 8b4c85aCopy full SHA for 8b4c85a
app/src/main/java/com/appcontrolx/ui/AppDetailBottomSheet.kt
@@ -197,9 +197,7 @@ class AppDetailBottomSheet : BottomSheetDialogFragment() {
197
binding.tvBatteryStatus.text = text
198
binding.tvBatteryStatus.setTextColor(resources.getColor(color, null))
199
200
- // Update button visibility based on current status
201
- binding.btnRestrictBg.visibility = if (currentBgStatus == BackgroundStatus.RESTRICTED) View.GONE else View.VISIBLE
202
- binding.btnAllowBg.visibility = if (currentBgStatus == BackgroundStatus.RESTRICTED) View.VISIBLE else View.GONE
+ // Both buttons always visible - no hide/show
203
}
204
205
private fun setupButtons() {
0 commit comments