kivy-code-quality-1 #2272

Open
PeterSurda wants to merge 6 commits from gitea-117 into v0.6
Showing only changes of commit 110286ff5e - Show all commits

View File

@ -76,7 +76,7 @@ class AddressBook(Screen, HelperAddressBook):
listItem.theme_text_color = "Custom" listItem.theme_text_color = "Custom"
listItem.text_color = ThemeClsColor listItem.text_color = ThemeClsColor
image = os.path.join( image = os.path.join(
self.kivy_state.imageDir, "text_images", f"{avatar_image_first_letter(item[0].strip())}.png" self.kivy_state.image_dir, "text_images", f"{avatar_image_first_letter(item[0].strip())}.png"
) )
message_row.ids.avater_img.source = image message_row.ids.avater_img.source = image
listItem.bind(on_release=partial(self.addBook_detail, item[1], item[0], message_row)) listItem.bind(on_release=partial(self.addBook_detail, item[1], item[0], message_row))