Renamed showUserProfile to user_details to keep compatibility with invisible interface and naming pattern of functions

This commit is contained in:
2023-10-10 17:43:31 -06:00
parent b3e0b21ee7
commit d56c8b4372
8 changed files with 14 additions and 9 deletions

View File

@@ -304,7 +304,7 @@ class Handler(object):
log.debug(f"Updating users profile with: {updated_data}")
call_threaded(session.api_call, "account_update_credentials", _("Update profile"), report_success=True, **updated_data)
def showUserProfile(self, buffer):
def user_details(self, buffer):
"""Displays user profile in a dialog.
This works as long as the focused item hass a 'account' key."""
if not hasattr(buffer, 'get_item'):