feat : attempt to fix bug
This commit is contained in:
@@ -80,7 +80,7 @@ func _load_profile_data() -> void:
|
||||
var stats := UserProfileManager.stats
|
||||
|
||||
display_name_input.text = profile.get("display_name", "Guest")
|
||||
display_name_input.max_length = 6
|
||||
display_name_input.max_length = 14
|
||||
|
||||
var avatar_url: String = UserProfileManager.get_avatar_url()
|
||||
if ResourceLoader.exists(avatar_url):
|
||||
@@ -243,9 +243,6 @@ func _on_save_name_pressed() -> void:
|
||||
emit_signal("profile_updated")
|
||||
await get_tree().create_timer(3.0).timeout
|
||||
status_label.text = ""
|
||||
else:
|
||||
status_label.add_theme_color_override("font_color", Color.RED)
|
||||
status_label.text = "Failed to update name"
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Account
|
||||
|
||||
Reference in New Issue
Block a user