Critical bugs were fixed

More correct permissions processing and compact code with flows
This commit is contained in:
2023-09-15 21:51:35 +07:00
parent a956bc3564
commit 80390b09ba
13 changed files with 528 additions and 369 deletions

View File

@@ -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()