这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix typos and package names #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import com.tunjid.treenav.compose.PaneScope
import com.tunjid.treenav.compose.PaneSharedTransitionScope
import com.tunjid.treenav.compose.moveablesharedelement.MovableSharedElementScope
import com.tunjid.treenav.compose.rememberPaneMovableElementSharedTransitionScope
import com.tunjid.treenav.compose.threepane.transforms.requireThreePaneMovableSharedElementScope
import com.tunjid.treenav.compose.threepane.panedecorators.requireThreePaneMovableSharedElementScope

/**
* An interface providing both [MovableSharedElementScope] and [PaneSharedTransitionScope] for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.tunjid.treenav.compose.threepane.transforms
package com.tunjid.treenav.compose.threepane.panedecorators

import androidx.compose.runtime.State
import androidx.compose.runtime.derivedStateOf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.tunjid.treenav.compose.threepane.transforms
package com.tunjid.treenav.compose.threepane.panedecorators

import androidx.compose.animation.BoundsTransform
import androidx.compose.animation.EnterExitState
Expand Down Expand Up @@ -60,7 +60,7 @@ import com.tunjid.treenav.compose.panedecorators.paneRenderDecorator
* There should be one instance of this per [MultiPaneDisplay].
*/
fun <NavigationState : Node, Destination : Node>
threePanedMovableSharedElementDecorator(
threePaneMovableSharedElementDecorator(
movableSharedElementHostState: MovableSharedElementHostState<ThreePane, Destination>,
): PaneDecorator<NavigationState, Destination, ThreePane> =
paneRenderDecorator { destination, destinationPaneMapper ->
Expand All @@ -82,7 +82,7 @@ fun <NavigationState : Node, Destination : Node>
/**
* Requires that this [PaneScope] is a [MovableSharedElementScope] specifically configured for
* [ThreePane] layouts and returns it. This only succeeds if the [MultiPaneDisplayState] has the
* [threePanedMovableSharedElementDecorator] applied to it.
* [threePaneMovableSharedElementDecorator] applied to it.
*
* In the case this [PaneScope] is not the [MovableSharedElementScope] requested, an exception
* will be thrown.
Expand Down
8 changes: 4 additions & 4 deletions libraryVersion.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#
groupId=com.tunjid.treenav
treenav_version=0.0.30e
strings_version=0.0.30e
compose_version=0.0.30e
compose-threepane_version=0.0.30e
treenav_version=0.0.30f
strings_version=0.0.30f
compose_version=0.0.30f
compose-threepane_version=0.0.30f
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ import com.tunjid.treenav.compose.moveablesharedelement.MovableSharedElementHost
import com.tunjid.treenav.compose.multiPaneDisplayBackstack
import com.tunjid.treenav.compose.navigation3.ui.NavigationEventHandler
import com.tunjid.treenav.compose.threepane.ThreePane
import com.tunjid.treenav.compose.threepane.transforms.threePaneAdaptiveDecorator
import com.tunjid.treenav.compose.threepane.transforms.threePanedMovableSharedElementDecorator
import com.tunjid.treenav.compose.threepane.panedecorators.threePaneAdaptiveDecorator
import com.tunjid.treenav.compose.threepane.panedecorators.threePaneMovableSharedElementDecorator
import com.tunjid.treenav.compose.panedecorators.PaneDecorator
import com.tunjid.treenav.compose.panedecorators.paneModifierDecorator
import com.tunjid.treenav.pop
Expand Down Expand Up @@ -128,7 +128,7 @@ fun App(
appState.splitLayoutState.size
}
),
threePanedMovableSharedElementDecorator(
threePaneMovableSharedElementDecorator(
movableSharedElementHostState = movableSharedElementHostState
),
paneModifierDecorator {
Expand Down