mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-21 22:30:43 -04:00
Remove unused Repository.canAdd and Repository.isMirror functions
This commit is contained in:
@@ -135,7 +135,7 @@ internal class RepoManagerAddAllIntegrationTest {
|
||||
repoManager.fetchRepositoryPreview(url = url, proxy = null)
|
||||
repoManager.addRepoState.test(timeout = 15.seconds) {
|
||||
val fetchState = awaitFinalFetchState()
|
||||
if (fetchState is Fetching && fetchState.canAdd) {
|
||||
if (fetchState is Fetching && fetchState.fetchResult != null) {
|
||||
repoManager.addFetchedRepository()
|
||||
val item = awaitItem()
|
||||
if (item is Adding) {
|
||||
|
||||
Reference in New Issue
Block a user