diff --git a/app/src/main/java/com/example/sprout/refactor/model/RegistrationModel.java b/app/src/main/java/com/example/sprout/refactor/model/RegistrationModel.java index b235665..3ac984b 100644 --- a/app/src/main/java/com/example/sprout/refactor/model/RegistrationModel.java +++ b/app/src/main/java/com/example/sprout/refactor/model/RegistrationModel.java @@ -30,21 +30,6 @@ error -> errorSubject.onNext(error) ); } -// -// public void get(int userId) { -// registrationRepository.getAccount(userId) -// .subscribeOn(Schedulers.computation()) -// .subscribe( -// account -> accountSubject.onNext(account), -// error -> { -// if (accountSubject.getValue() != null) { -// accountSubject.onNext(accountSubject.getValue()); -// } -// errorSubject.onNext(error); -// -// } -// ); -// } public Observable getAccountObservable() { return accountSubject.hide();