mirror of
https://github.com/openMF/mifos-mobile.git
synced 2026-02-06 11:26:51 +00:00
fix(core-base/platform): prevent crash on Profile tab tap (#3073)
This commit is contained in:
parent
c5e270b2f0
commit
37b6bd9aa3
@ -42,7 +42,7 @@ expect fun LocalManagerProvider(
|
||||
* Provides access to the app review manager throughout the app.
|
||||
*/
|
||||
val LocalAppReviewManager: ProvidableCompositionLocal<AppReviewManager> = compositionLocalOf {
|
||||
error("CompositionLocal AppReviewManager not present")
|
||||
NoOpAppReviewManager
|
||||
}
|
||||
|
||||
/**
|
||||
@ -58,3 +58,8 @@ val LocalIntentManager: ProvidableCompositionLocal<IntentManager> = compositionL
|
||||
val LocalAppUpdateManager: ProvidableCompositionLocal<AppUpdateManager> = compositionLocalOf {
|
||||
error("CompositionLocal LocalAppUpdateManager not present")
|
||||
}
|
||||
|
||||
object NoOpAppReviewManager : AppReviewManager {
|
||||
override fun promptForReview() = Unit
|
||||
override fun promptForCustomReview() = Unit
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user