Skip to content

Commit

Permalink
Fix quran traits not updating when switching data source (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamede1945 authored Jul 28, 2023
1 parent e9fc365 commit c29c188
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Features/QuranContentFeature/ContentViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ final class ContentViewController: UIViewController, UIGestureRecognizerDelegate

dataSource.scrollToPage(viewModel.lastViewedPage, animated: false, forceReload: true)
await viewModel.visiblePagesLoaded()
await quranUITraitsUpdatedTo(viewModel.quranUITraits)
}

// MARK: - Gestures
Expand Down

0 comments on commit c29c188

Please sign in to comment.