This commit is contained in:
@@ -338,7 +338,7 @@ final class AccountPages
|
||||
'email' => '',
|
||||
'contact_phone' => '',
|
||||
'location_tracking_preference' => 'prompt',
|
||||
'avatar_preset' => 'modern_001',
|
||||
'avatar_preset' => 'papa-kind-treff',
|
||||
'avatar_skin_tone' => 'warm',
|
||||
'avatar_hair_style' => 'short',
|
||||
'avatar_hair_color' => 'brown',
|
||||
@@ -420,9 +420,7 @@ final class AccountPages
|
||||
if (!in_array($section, $allowedSections, true)) {
|
||||
$section = 'profile';
|
||||
}
|
||||
$avatarOptions = Avatar::options();
|
||||
$avatarPresetOptions = Avatar::presetOptions();
|
||||
$avatarPresetGroups = Avatar::presetGroups();
|
||||
$avatarPresetOptions = Avatar::seedChoices((string)$profile['avatar_preset']);
|
||||
|
||||
return compact(
|
||||
'flash',
|
||||
@@ -439,9 +437,7 @@ final class AccountPages
|
||||
'communityApplication',
|
||||
'communityCanApply',
|
||||
'communityRestrictions',
|
||||
'avatarOptions',
|
||||
'avatarPresetOptions',
|
||||
'avatarPresetGroups',
|
||||
'section',
|
||||
'allowedSections'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user