Merge tag 'v0.19.7'

This commit is contained in:
AntsyLich
2026-03-25 23:58:00 +06:00
8 changed files with 58 additions and 27 deletions
@@ -1,6 +1,6 @@
package mihon.data.repository
import android.database.sqlite.SQLiteException
import android.database.SQLException
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
import mihon.domain.extensionrepo.exception.SaveExtensionRepoException
@@ -42,7 +42,7 @@ class ExtensionRepoRepositoryImpl(
) {
try {
handler.await { extension_reposQueries.insert(baseUrl, name, shortName, website, signingKeyFingerprint) }
} catch (ex: SQLiteException) {
} catch (ex: SQLException) {
throw SaveExtensionRepoException(ex)
}
}
@@ -56,7 +56,7 @@ class ExtensionRepoRepositoryImpl(
) {
try {
handler.await { extension_reposQueries.upsert(baseUrl, name, shortName, website, signingKeyFingerprint) }
} catch (ex: SQLiteException) {
} catch (ex: SQLException) {
throw SaveExtensionRepoException(ex)
}
}