Unknown source compile fix

This commit is contained in:
Jobobby04 2021-01-10 18:12:14 -05:00
parent 57c4ead5fb
commit cda886ecb3

View File

@ -390,6 +390,7 @@ class FavoritesSyncHelper(val context: Context) {
val errorString = context.getString(R.string.favorites_sync_failed_to_add_to_local) + when (result) {
is GalleryAddEvent.Fail.Error -> context.getString(R.string.favorites_sync_failed_to_add_to_local_error, it.title, result.logMessage)
is GalleryAddEvent.Fail.UnknownType -> context.getString(R.string.favorites_sync_failed_to_add_to_local_unknown_type, it.title, result.galleryUrl)
is GalleryAddEvent.Fail.UnknownSource -> context.getString(R.string.favorites_sync_failed_to_add_to_local_unknown_type, it.title, result.galleryUrl)
}
if (prefs.exhLenientSync().get()) {