mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-12-11 06:26:31 +00:00
Add null check. Fixes austinhuang0131/barinsta#1628
This commit is contained in:
parent
a86704adb8
commit
b860493cc8
1 changed files with 1 additions and 0 deletions
|
|
@ -448,6 +448,7 @@ public class MorePreferencesFragment extends BasePreferencesFragment {
|
||||||
Log.e(TAG, "onBindViewHolder: ", throwable);
|
Log.e(TAG, "onBindViewHolder: ", throwable);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (account == null) return;
|
||||||
binding.getRoot().post(() -> {
|
binding.getRoot().post(() -> {
|
||||||
binding.fullName.setText(account.getFullName());
|
binding.fullName.setText(account.getFullName());
|
||||||
binding.username.setText("@" + account.getUsername());
|
binding.username.setText("@" + account.getUsername());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue