Skip to content

Commit

Permalink
fix: delete AndroidManifest.xml and remove useless function Resources…
Browse files Browse the repository at this point in the history
…FontManager
  • Loading branch information
liuzhenhui authored and alexzhirkevich committed Feb 6, 2025
1 parent 7c42e36 commit 8979cb7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,6 @@ public fun rememberResourcesFontManager(
}
}

@OptIn(InternalCompottieApi::class, ExperimentalResourceApi::class)
@ExperimentalCompottieApi
/**
* Factory method to create Compose resources [LottieFontManager] from non-composable context.
*
* Use [rememberResourcesFontManager] to create it from composition.
*
* LottiePainter created with this font manager won't work with Android Studio preview.
*
* Warning: this manager uses internal Compose API on Android and should be considered unstable
* */
public fun ResourcesFontManager(
environment: ResourceEnvironment = getSystemResourceEnvironment(),
resource : (LottieFontSpec) -> FontResource?
) : LottieFontManager = ResourcesFontManagerImpl(
context = Compottie.context,
environment = environment,
resource = resource
)

@OptIn(ExperimentalResourceApi::class)
private class ResourcesFontManagerImpl(
Expand Down
16 changes: 0 additions & 16 deletions compottie/src/androidMain/AndroidManifest.xml

This file was deleted.

0 comments on commit 8979cb7

Please sign in to comment.