Hourglass

This commit is contained in:
Sewmina
2022-03-23 03:41:05 +05:30
parent acfb03d7a3
commit aa72b5dc92
7 changed files with 432 additions and 131 deletions

View File

@@ -46,7 +46,12 @@ class _NewActivity extends State<NewActivity> {
List<String> getActivities(){
List<String> _cats = [];
print(User.taskTypes[0].name + " : " + selectedCat);
_cats.add("+Add New Task Type");
if(User.taskTypes.isEmpty){
}else {
print(User.taskTypes[0].name + " : " + selectedCat);
}
User.taskTypes.forEach((element) {
String name = element.name;
if(_cats.contains(element.name)){