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 11import 'package:flutter/material.dart' ;
22import 'package:get/get.dart' ;
3+ import 'package:taskwarrior/app/modules/home/controllers/home_controller.dart' ;
34import 'package:taskwarrior/app/modules/splash/controllers/splash_controller.dart' ;
45import 'package:taskwarrior/app/utils/constants/taskwarrior_colors.dart' ;
56import 'package:taskwarrior/app/utils/constants/utilites.dart' ;
@@ -55,6 +56,7 @@ class DeleteProfileDialog extends StatelessWidget {
5556 try {
5657 Get .find <SplashController >().deleteProfile (profile);
5758 // Navigator.of(context).pop();
59+ Get .find <HomeController >().refreshTaskWithNewProfile ();
5860 Get .back ();
5961 ScaffoldMessenger .of (context).showSnackBar (SnackBar (
6062 content: Text (
You can’t perform that action at this time.
0 commit comments