mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Replace lambda with a method reference
This commit is contained in:
parent
88a0f0c58d
commit
27d9fd8758
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ public class MoreBottomSheetFragment extends BottomSheetDialogFragment {
|
|||
feedbackContentCreator.getSectionText(),
|
||||
"Summary"
|
||||
)
|
||||
.flatMapSingle(result -> Single.just(result))
|
||||
.flatMapSingle(Single::just)
|
||||
.firstOrError();
|
||||
|
||||
Single.defer((Callable<SingleSource<Boolean>>) () -> single)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue