Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Jun 14, 2024
1 parent 2ea19e1 commit 486ff46
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ImageToolboxLibraryComposePlugin : Plugin<Project> {
tasks.withType<KotlinCompile> {
compilerOptions.freeCompilerArgs.addAll(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",
"plugin:androidx.compose.compiler.plugins.kotlin:strongSkipping=true",
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.ProvideTextStyle
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.MutableState
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
Expand All @@ -43,7 +42,6 @@ fun UpdateSheet(
val context = LocalContext.current

SimpleSheet(
endConfirmButtonPadding = 0.dp,
visible = visible,
onDismiss = {
if (!it) onDismiss()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ import ru.tech.imageresizershrinker.core.ui.widget.other.LoadingDialog
import ru.tech.imageresizershrinker.core.ui.widget.other.LocalToastHostState
import ru.tech.imageresizershrinker.core.ui.widget.other.ToastDuration
import ru.tech.imageresizershrinker.core.ui.widget.other.TopAppBarEmoji
import ru.tech.imageresizershrinker.core.ui.widget.other.showError
import ru.tech.imageresizershrinker.core.ui.widget.text.AutoSizeText
import ru.tech.imageresizershrinker.feature.document_scanner.presentation.viewModel.DocumentScannerViewModel

Expand Down Expand Up @@ -116,11 +115,6 @@ fun DocumentScannerContent(
} else onGoBack()
}

val writeDenied: (Throwable) -> Unit = {
scope.launch {
toastHostState.showError(context, it)
}
}
val savePdfLauncher = rememberLauncherForActivityResult(
contract = ActivityResultContracts.CreateDocument("application/pdf"),
onResult = {
Expand Down

0 comments on commit 486ff46

Please sign in to comment.