diff --git a/hamster_icon.png b/assets/img/hamster_icon.png similarity index 100% rename from hamster_icon.png rename to assets/img/hamster_icon.png diff --git a/profile.jpg b/assets/img/profile.jpg similarity index 100% rename from profile.jpg rename to assets/img/profile.jpg diff --git a/libs/uix/baseclass/home.py b/libs/uix/baseclass/home.py index 0b1fd77..27d6f2d 100644 --- a/libs/uix/baseclass/home.py +++ b/libs/uix/baseclass/home.py @@ -16,7 +16,7 @@ def search_account(self,search_field): twolineW= TwoLineAvatarListItem(text=f"{search_field}", secondary_text=f"@{search_field}") - twolineW.add_widget(ImageLeftWidget(source="hamster_icon.png")) + twolineW.add_widget(ImageLeftWidget(source="assets//img//hamster_icon.png")) self.ids.search_items.add_widget(twolineW) # # ----- ] end dummy search diff --git a/libs/uix/kv/profile.kv b/libs/uix/kv/profile.kv index 727f14f..0190425 100644 --- a/libs/uix/kv/profile.kv +++ b/libs/uix/kv/profile.kv @@ -24,8 +24,8 @@ Button: id:profile_image - background_normal: "profile.jpg" - background_down: "profile.jpg" + background_normal: "assets//img//profile.jpg" + background_down: "assets//img//profile.jpg" on_release: root.change_profile_img() diff --git a/main.py b/main.py index 8c1a613..3ccb5f4 100644 --- a/main.py +++ b/main.py @@ -62,7 +62,7 @@ def all_chats(self): secondary_text="@username", on_touch_up=self.chat_room) - twolineW.add_widget(ImageLeftWidget(source="hamster_icon.png")) + twolineW.add_widget(ImageLeftWidget(source="assets//img//hamster_icon.png")) self.screen_manager.get_screen("home").ids.chat_tab.add_widget(twolineW) # ----- ] end dummy chats