Skip to content
Permalink
Browse files

Trigger a rescan when you go to the 'My Photos' settings

Ensure that Muzei is up to date with the latest images from folders when you go to the Settings screen.
  • Loading branch information...
ianhanniballake committed Oct 13, 2019
1 parent b803aa6 commit e0761fc15e10c1b5295b95f3a376c27a55e32a57
@@ -251,6 +251,7 @@ class GallerySettingsActivity : AppCompatActivity(), Observer<PagedList<ChosenPh
}
chosenPhotosLiveData.observe(this, this)
getContentActivitiesLiveData.observe(this) { invalidateOptionsMenu() }
GalleryScanWorker.enqueueRescan(this)
}

private fun requestPhotos() {

0 comments on commit e0761fc

Please sign in to comment.
You can’t perform that action at this time.