]> git.ktnx.net Git - mobile-ledger.git/commitdiff
rename local variable using proper English
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 06:48:15 +0000 (08:48 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 06:48:15 +0000 (08:48 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java

index 6eed96a4f2a267e646161396a20e9f8e9f043df6..a94bbab7fe10e9e97c0b99dc9ead36154c102c67 100644 (file)
@@ -163,9 +163,9 @@ public class ProfileDetailFragment extends Fragment implements HueRingDialog.Hue
             throw new AssertionError();
         profiles.set(index, newProfile);
 
-        ProfilesRecyclerViewAdapter prva = ProfilesRecyclerViewAdapter.getInstance();
-        if (prva != null)
-            prva.notifyItemChanged(index);
+        ProfilesRecyclerViewAdapter viewAdapter = ProfilesRecyclerViewAdapter.getInstance();
+        if (viewAdapter != null)
+            viewAdapter.notifyItemChanged(index);
 
         if (mProfile.equals(Data.profile.getValue()))
             Data.profile.setValue(newProfile);