From 47bec46796bec48131fc010c21d7727555dba5ea Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 11 Jan 2019 19:30:10 +0000 Subject: [PATCH] one more lambda --- .../ktnx/mobileledger/ui/activity/ProfileListActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java index 85554bf5..5b43b8ed 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java @@ -211,9 +211,7 @@ public class ProfileListActivity extends AppCompatActivity { MobileLedgerProfile profile = (MobileLedgerProfile) holder.itemView.getTag(); if (profile != null) Data.setCurrentProfile(profile); }); - View.OnClickListener profileSelector = v -> { - holder.mRadioView.setChecked(true); - }; + View.OnClickListener profileSelector = v -> holder.mRadioView.setChecked(true); holder.mTitle.setOnClickListener(profileSelector); holder.mSubTitle.setOnClickListener(profileSelector); Data.profile.addObserver((o, arg) -> { -- 2.39.5