Skip to content

Commit 1b6e0ae

Browse files
committed
delete irrelevant files
1 parent adc26f7 commit 1b6e0ae

File tree

3 files changed

+4
-771
lines changed

3 files changed

+4
-771
lines changed

lib/app/modules/home/controllers/home_controller.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ import 'package:taskwarrior/app/models/storage.dart';
1717
import 'package:taskwarrior/app/models/storage/client.dart';
1818
import 'package:taskwarrior/app/models/tag_meta_data.dart';
1919
import 'package:taskwarrior/app/modules/home/controllers/widget.controller.dart';
20-
import 'package:taskwarrior/app/modules/home/views/add_task_bottom_sheet.dart';
21-
import 'package:taskwarrior/app/modules/home/views/add_task_to_taskc_bottom_sheet.dart';
20+
import 'package:taskwarrior/app/modules/home/views/add_task_bottom_sheet_new.dart';
2221
import 'package:taskwarrior/app/modules/splash/controllers/splash_controller.dart';
2322
import 'package:taskwarrior/app/routes/app_pages.dart';
2423
import 'package:taskwarrior/app/services/tag_filter.dart';
@@ -709,9 +708,9 @@ class HomeController extends GetxController {
709708
}
710709

711710
void showAddDialogAfterWidgetClick() {
712-
Widget showDialog = taskchampion.value
713-
? AddTaskToTaskcBottomSheet(homeController: this)
714-
: AddTaskBottomSheet(homeController: this);
711+
Widget showDialog = Material(
712+
child: AddTaskBottomSheet(
713+
homeController: this, forTaskC: taskchampion.value));
715714
Get.dialog(showDialog);
716715
}
717716
}

0 commit comments

Comments
 (0)