Skip to content

Commit

Permalink
revert custom keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Jan 10, 2025
1 parent 096481f commit 4ca608c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 381 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,15 @@ fun ImageToolboxCompositionLocals(
val confettiHostState = rememberConfettiHostState()
val context = LocalContext.current
val customHapticFeedback = rememberEnhancedHapticFeedback(settingsState.hapticsStrength)
val paddingManager = rememberKeyboardPaddingManager()

val values = remember(
toastHostState,
settingsState,
simpleSettingsInteractor,
editPresetsController,
confettiHostState,
content,
customHapticFeedback,
paddingManager
context,
customHapticFeedback
) {
derivedStateOf {
listOfNotNull(
Expand All @@ -70,8 +68,7 @@ fun ImageToolboxCompositionLocals(
LocalEditPresetsController provides editPresetsController,
LocalConfettiHostState provides confettiHostState,
LocalImageLoader provides context.imageLoader,
LocalHapticFeedback provides customHapticFeedback,
LocalKeyboardPaddingManager provides paddingManager
LocalHapticFeedback provides customHapticFeedback
).toTypedArray()
}
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import androidx.compose.foundation.layout.calculateStartPadding
import androidx.compose.foundation.layout.displayCutout
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.ime
import androidx.compose.foundation.layout.navigationBars
import androidx.compose.foundation.layout.only
import androidx.compose.foundation.layout.padding
Expand Down Expand Up @@ -74,7 +75,6 @@ import kotlinx.coroutines.launch
import ru.tech.imageresizershrinker.core.resources.R
import ru.tech.imageresizershrinker.core.settings.presentation.provider.LocalSettingsState
import ru.tech.imageresizershrinker.core.ui.utils.animation.fancySlideTransition
import ru.tech.imageresizershrinker.core.ui.utils.provider.ime
import ru.tech.imageresizershrinker.core.ui.widget.enhanced.EnhancedIconButton
import ru.tech.imageresizershrinker.core.ui.widget.enhanced.EnhancedTopAppBar
import ru.tech.imageresizershrinker.core.ui.widget.enhanced.EnhancedTopAppBarType
Expand Down
Loading

0 comments on commit 4ca608c

Please sign in to comment.