mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix unresponsive settings (#688)
* Lower targetSdk to get all installed packages * Update sdk version * Let's not be too radical * Many fixes * Revert targetSdk * Make account homepage persistent * Update mobile_navigation.xml * Update SettingsFragment.kt
This commit is contained in:
parent
fc8c0e809d
commit
fd1620f3d7
2 changed files with 59 additions and 60 deletions
|
@ -187,13 +187,13 @@ class SettingsFragment : Fragment() {
|
|||
}
|
||||
binding?.apply {
|
||||
listOf(
|
||||
settingsGeneral to R.id.action_navigation_settings_to_navigation_settings_general,
|
||||
settingsPlayer to R.id.action_navigation_settings_to_navigation_settings_player,
|
||||
settingsCredits to R.id.action_navigation_settings_to_navigation_settings_account,
|
||||
settingsUi to R.id.action_navigation_settings_to_navigation_settings_ui,
|
||||
settingsProviders to R.id.action_navigation_settings_to_navigation_settings_providers,
|
||||
settingsUpdates to R.id.action_navigation_settings_to_navigation_settings_updates,
|
||||
settingsExtensions to R.id.action_navigation_settings_to_navigation_settings_extensions,
|
||||
settingsGeneral to R.id.action_navigation_global_to_navigation_settings_general,
|
||||
settingsPlayer to R.id.action_navigation_global_to_navigation_settings_player,
|
||||
settingsCredits to R.id.action_navigation_global_to_navigation_settings_account,
|
||||
settingsUi to R.id.action_navigation_global_to_navigation_settings_ui,
|
||||
settingsProviders to R.id.action_navigation_global_to_navigation_settings_providers,
|
||||
settingsUpdates to R.id.action_navigation_global_to_navigation_settings_updates,
|
||||
settingsExtensions to R.id.action_navigation_global_to_navigation_settings_extensions,
|
||||
).forEach { (view, navigationId) ->
|
||||
view.apply {
|
||||
setOnClickListener {
|
||||
|
@ -212,4 +212,4 @@ class SettingsFragment : Fragment() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -331,57 +331,56 @@
|
|||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim"
|
||||
tools:layout="@layout/main_settings">
|
||||
<action
|
||||
android:id="@+id/action_navigation_settings_to_navigation_settings_ui"
|
||||
app:destination="@id/navigation_settings_ui"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_settings_to_navigation_settings_providers"
|
||||
app:destination="@id/navigation_settings_providers"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_settings_to_navigation_settings_player"
|
||||
app:destination="@id/navigation_settings_player"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_settings_to_navigation_settings_updates"
|
||||
app:destination="@id/navigation_settings_updates"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_settings_to_navigation_settings_account"
|
||||
app:destination="@id/navigation_settings_account"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_settings_to_navigation_settings_general"
|
||||
app:destination="@id/navigation_settings_general"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_settings_to_navigation_settings_extensions"
|
||||
app:destination="@id/navigation_settings_extensions"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
</fragment>
|
||||
tools:layout="@layout/main_settings" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_global_to_navigation_settings_ui"
|
||||
app:destination="@id/navigation_settings_ui"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_global_to_navigation_settings_providers"
|
||||
app:destination="@id/navigation_settings_providers"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_global_to_navigation_settings_player"
|
||||
app:destination="@id/navigation_settings_player"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_global_to_navigation_settings_updates"
|
||||
app:destination="@id/navigation_settings_updates"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_global_to_navigation_settings_account"
|
||||
app:destination="@id/navigation_settings_account"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_global_to_navigation_settings_general"
|
||||
app:destination="@id/navigation_settings_general"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_global_to_navigation_settings_extensions"
|
||||
app:destination="@id/navigation_settings_extensions"
|
||||
app:enterAnim="@anim/enter_anim"
|
||||
app:exitAnim="@anim/exit_anim"
|
||||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim" />
|
||||
|
||||
<fragment
|
||||
android:id="@+id/navigation_subtitles"
|
||||
|
@ -638,4 +637,4 @@
|
|||
app:popEnterAnim="@anim/enter_anim"
|
||||
app:popExitAnim="@anim/exit_anim"
|
||||
tools:layout="@layout/fragment_setup_media" />
|
||||
</navigation>
|
||||
</navigation>
|
||||
|
|
Loading…
Reference in a new issue