mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-25 20:34:26 -08:00
12 lines
495 B
Python
12 lines
495 B
Python
from kivy.properties import StringProperty
|
|
|
|
from kivymd.uix.boxlayout import MDBoxLayout
|
|
|
|
# TODO: add a progress bar to show the individual progress of each task
|
|
class TaskCard(MDBoxLayout):
|
|
anime_task_name = StringProperty()
|
|
episodes_to_download = StringProperty()
|
|
def __init__(self, anime_title:str, episodes:str, *args, **kwargs):
|
|
super().__init__(*args, **kwargs)
|
|
self.anime_task_name = f"{anime_title}"
|
|
self.episodes_to_download = f"Episodes: {episodes}" |