fix(S3): ContentRepositoryFactory to use proper Cloud
This commit is contained in:
parent
24e96b7205
commit
fe15c748bc
@ -4,7 +4,7 @@ import android.content.Context;
|
||||
|
||||
import org.cryptomator.data.repository.CloudContentRepositoryFactory;
|
||||
import org.cryptomator.domain.Cloud;
|
||||
import org.cryptomator.domain.PCloud;
|
||||
import org.cryptomator.domain.S3Cloud;
|
||||
import org.cryptomator.domain.repository.CloudContentRepository;
|
||||
|
||||
import javax.inject.Inject;
|
||||
@ -29,7 +29,7 @@ public class S3CloudContentRepositoryFactory implements CloudContentRepositoryFa
|
||||
|
||||
@Override
|
||||
public CloudContentRepository cloudContentRepositoryFor(Cloud cloud) {
|
||||
return new S3CloudContentRepository((PCloud) cloud, context);
|
||||
return new S3CloudContentRepository((S3Cloud) cloud, context);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user