fix image_dir typo

This commit is contained in:
surbhi 2024-08-30 11:10:35 +05:30
parent 245de11108
commit b8826ed1f1
Signed by untrusted user: surbhi
GPG Key ID: BD938EA4D030869A

View File

@ -76,7 +76,7 @@ class AddressBook(Screen, HelperAddressBook):
listItem.theme_text_color = "Custom"
listItem.text_color = ThemeClsColor
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
listItem.bind(on_release=partial(self.addBook_detail, item[1], item[0], message_row))