/// <summary> /// Gets the user avatar color /// </summary> public static void GetUserAvatarColor() { var avatarColor = UiService.GetColorFromHex(SdkService.MegaSdk.getUserAvatarColor(SdkService.MegaSdk.getMyUser())); UiService.OnUiThread(() => UserData.AvatarColor = avatarColor); }