Browse Source

Add null check. Fixes austinhuang0131/barinsta#1628

renovate/androidx.fragment-fragment-ktx-1.x
Ammar Githam 4 years ago
parent
commit
b860493cc8
  1. 1
      app/src/main/java/awais/instagrabber/fragments/settings/MorePreferencesFragment.java

1
app/src/main/java/awais/instagrabber/fragments/settings/MorePreferencesFragment.java

@ -448,6 +448,7 @@ public class MorePreferencesFragment extends BasePreferencesFragment {
Log.e(TAG, "onBindViewHolder: ", throwable);
return;
}
if (account == null) return;
binding.getRoot().post(() -> {
binding.fullName.setText(account.getFullName());
binding.username.setText("@" + account.getUsername());

Loading…
Cancel
Save