Skip to content

feat(settings): wire IPTV sort order controls and trigger cloud sync - #581

Merged
ProdigyV21 merged 1 commit into
ProdigyV21:mainfrom
Himanth-reddy:feat/iptv-sort-order-settings-sync
Aug 17, 2026
Merged

feat(settings): wire IPTV sort order controls and trigger cloud sync#581
ProdigyV21 merged 1 commit into
ProdigyV21:mainfrom
Himanth-reddy:feat/iptv-sort-order-settings-sync

Conversation

@Himanth-reddy

Copy link
Copy Markdown
Collaborator

Summary

This pull request wires IPTV sort order controls in the UI settings screen and triggers silent cloud sync when updated, keeping IPTV playlist display preferences consistent across devices and profiles.

Key Changes

  • Settings Screen: Passed sortOrder and onSortOrderChange into IptvSettings from SettingsScreen.
  • Settings ViewModel:
    • Reacted to config.sortOrder updates in iptvRepository.observeConfig().
    • Normalized sort order and triggered syncLocalStateToCloud(silent = true) upon sort order modifications.
  • Unit Tests:
    • Added unit test in IptvProviderOrderTest verifying the cycling behavior of IPTV sort order options (provider -> number -> name -> provider).

Verification

  • ./gradlew :app:compileSideloadDebugKotlin :app:testSideloadDebugUnitTest ran and passed cleanly (BUILD SUCCESSFUL).

@github-actions github-actions Bot added the area: android Changes to the Android app or Gradle build label Aug 17, 2026
@ProdigyV21
ProdigyV21 merged commit 73fba9e into ProdigyV21:main Aug 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: android Changes to the Android app or Gradle build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants