mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
UtilsモジュールのfileUtilsを使用するように
This commit is contained in:
parent
eb79cffb34
commit
8de21d751e
|
@ -10,19 +10,23 @@ import javax.inject.Inject;
|
|||
import dagger.hilt.android.qualifiers.ApplicationContext;
|
||||
import one.nem.lacerta.data.repository.Commons;
|
||||
|
||||
import one.nem.lacerta.data.utils.UtilsRepo; // Internal Utils Repo
|
||||
import one.nem.lacerta.utils.repository.FileUtils;
|
||||
|
||||
public class CommonsImpl implements Commons{
|
||||
|
||||
@Inject
|
||||
UtilsRepo utilsRepo;
|
||||
public CommonsImpl() {
|
||||
}
|
||||
|
||||
@Inject
|
||||
FileUtils fileUtils;
|
||||
|
||||
public Path getExternalFilesDirPath(String type) {
|
||||
return utilsRepo.getExternalFilesDirPath(type);
|
||||
return fileUtils.getExternalFilesDirPath(type);
|
||||
}
|
||||
|
||||
public Path getExternalFilesDirPath() {
|
||||
return utilsRepo.getExternalFilesDirPath();
|
||||
return fileUtils.getExternalFilesDirPath();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user