mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
Fix a crash with profiles
This commit is contained in:
parent
096dc6e98c
commit
2f11eaf315
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
|||
}
|
||||
//When visiting a profile without being authenticated
|
||||
if (checkRemotely) {
|
||||
String[] acctArray = accountTimeline.acct.split("@");
|
||||
String[] acctArray = accountTimeline!=null?accountTimeline.acct.split("@"):new String[]{};
|
||||
if (acctArray.length > 1) {
|
||||
remoteInstance = acctArray[1];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue