Critical bugs were fixed
More correct permissions processing and compact code with flows
This commit is contained in:
@@ -14,11 +14,11 @@ fun RequiredHardwareFeatures(
|
||||
title: String,
|
||||
description: String,
|
||||
confirmButtonText: String,
|
||||
featureState: MutableState<Boolean?>,
|
||||
featureState: Boolean,
|
||||
requestFeature: () -> Unit,
|
||||
onDismissRequest: () -> Unit
|
||||
) {
|
||||
if (featureState.value == false || featureState.value == null) {
|
||||
if (!featureState) {
|
||||
AlertDialog(
|
||||
confirmButton = {
|
||||
Divider()
|
||||
|
||||
Reference in New Issue
Block a user