Add null check. Fixes austinhuang0131/barinsta#1628
This commit is contained in:
parent
a86704adb8
commit
b860493cc8
@ -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…
Reference in New Issue
Block a user