]> git.ktnx.net Git - mobile-ledger.git/commitdiff
inline redundant variable
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 06:42:18 +0000 (08:42 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 06:42:18 +0000 (08:42 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java

index e43e20e35a4d7585fa6c84d37c6173ddf4e13c10..e67eda008cfbe8e9521c3dc6eaeb70c8c4cacd28 100644 (file)
@@ -407,9 +407,8 @@ public class ProfileDetailFragment extends Fragment implements HueRingDialog.Hue
     @Override
     public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
                              Bundle savedInstanceState) {
-        View rootView = inflater.inflate(R.layout.profile_detail, container, false);
 
-        return rootView;
+        return inflater.inflate(R.layout.profile_detail, container, false);
     }
     private boolean checkUrlValidity() {
         boolean valid = true;