Skip to content

bug: Duplication of Taskrc parsing #634

@chetanr25

Description

@chetanr25

Describe your issue

In home_view.dart Taskrc parsing block is copy-pasted twice, doing the same work back-to-back.

if (contents != null) {
server = Taskrc.fromString(contents).server;
credentials = Taskrc.fromString(contents).credentials;
}
if (contents != null) {
server = Taskrc.fromString(contents).server;
credentials = Taskrc.fromString(contents).credentials;
}

Steps to reproduce

What was the expected result?

Parsing should run once.

Put here any screenshots or videos (optional)

No response

How can we contact you (optional)

No response

Would you like to work on this issue?

Yes

By submitting this issue, I have confirmed that:

  • I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions