Skip to content

Commit 4a3605d

Browse files
committed
profile change from tc->tc reloads tasks
1 parent 53fb143 commit 4a3605d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/app/modules/splash/controllers/splash_controller.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ class SplashController extends GetxController {
9191
await prefs.setBool('settings_taskr_repl', getMode(profile) == 'TW3C');
9292
Get.find<HomeController>().taskchampion.value = getMode(profile) == 'TW3';
9393
Get.find<HomeController>().taskReplica.value = getMode(profile) == 'TW3C';
94+
if (getMode(profile) == "TW3C") {
95+
Get.find<HomeController>().refreshReplicaTaskList();
96+
}
9497
Get.find<HomeController>().tasks.value = <TaskForC>[].obs;
9598
currentProfile.value = _profiles.getCurrentProfile()!;
9699
}

0 commit comments

Comments
 (0)