Skip to content

Commit ddb9b2a

Browse files
committed
fix: duplicate taskrc parsing block. Issue #634
1 parent f058b4a commit ddb9b2a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/app/modules/home/views/home_view.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ class HomeView extends GetView<HomeController> {
2626
credentials = Taskrc.fromString(contents).credentials;
2727
}
2828

29-
if (contents != null) {
30-
server = Taskrc.fromString(contents).server;
31-
credentials = Taskrc.fromString(contents).credentials;
32-
}
33-
3429
controller.checkForSync(context);
3530

3631
return Obx(
@@ -44,10 +39,8 @@ class HomeView extends GetView<HomeController> {
4439
? TaskWarriorColors.kprimaryBackgroundColor
4540
: TaskWarriorColors.kLightPrimaryBackgroundColor,
4641
drawer: NavDrawer(homeController: controller),
47-
4842
drawerEnableOpenDragGesture: true,
4943
drawerEdgeDragWidth: 80,
50-
5144
body: HomePageBody(
5245
controller: controller,
5346
),

0 commit comments

Comments
 (0)