File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
lib/app/modules/profile/views Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1
1
import 'package:flutter/material.dart' ;
2
2
import 'package:get/get.dart' ;
3
+ import 'package:taskwarrior/app/modules/home/controllers/home_controller.dart' ;
3
4
import 'package:taskwarrior/app/modules/splash/controllers/splash_controller.dart' ;
4
5
import 'package:taskwarrior/app/utils/constants/taskwarrior_colors.dart' ;
5
6
import 'package:taskwarrior/app/utils/constants/utilites.dart' ;
@@ -55,6 +56,7 @@ class DeleteProfileDialog extends StatelessWidget {
55
56
try {
56
57
Get .find <SplashController >().deleteProfile (profile);
57
58
// Navigator.of(context).pop();
59
+ Get .find <HomeController >().refreshTaskWithNewProfile ();
58
60
Get .back ();
59
61
ScaffoldMessenger .of (context).showSnackBar (SnackBar (
60
62
content: Text (
You can’t perform that action at this time.
0 commit comments