flixclusiveorg / Flixclusive

A TV show and movie player application.
MIT License
396 stars 37 forks source link

Cannot open provider settings when provider is disabled #104

Closed rhenwinch closed 4 months ago

rhenwinch commented 4 months ago

Steps to reproduce

  1. Disable a provider, say Stremio
  2. Restart app
  3. Open provider settings of Stremio

Expected behavior

Should open

Actual behavior

Crashes

Crash logs (or stack trace)

java.lang.reflect.InvocationTargetExceptionat java.lang.reflect.Method.invoke(Native Method) at com.flixclusive.feature.mobile.provider.settings.ProviderSettingsScreenKt.ProviderSettingsScreen(ProviderSettingsScreen.kt:50) at com.flixclusive.feature.mobile.provider.settings.destinations.ProviderSettingsScreenDestination.Content(ProviderSettingsScreenDestination.kt:58)

Flixclusive version

pre-release

Android version

SDK 29

Device

emulator

Other details

No response

Acknowledgements

rhenwinch commented 4 months ago

Nvm, this only happens on Stremio.