mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 19:42:34 +00:00
base url can be null
Fixes #1458 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
ef1bd4a4e9
commit
0ec4ecfa95
@ -307,9 +307,12 @@ public class ProfileController extends BaseController {
|
||||
if (getActivity() == null) {
|
||||
return;
|
||||
}
|
||||
((TextView) getActivity()
|
||||
|
||||
if (currentUser.getBaseUrl() != null) {
|
||||
((TextView) getActivity()
|
||||
.findViewById(R.id.userinfo_baseurl))
|
||||
.setText(Uri.parse(currentUser.getBaseUrl()).getHost());
|
||||
}
|
||||
|
||||
DisplayUtils.loadAvatarImage(currentUser, getActivity().findViewById(R.id.avatar_image), false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user