Fix a crash with profiles
This commit is contained in:
parent
096dc6e98c
commit
2f11eaf315
|
@ -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 New Issue