Skip to content

Nervousnet On/Off Button should remember State #20

Description

@a-enz

Currently this button and the logic from the VM don't remember the State set in an earlier app session. Every time the app is closed and openend the Button and State from the VM is reset to "ON".

The VM logic should consider state set in earlier sessions and initialize sensors on that state:

  • This should be the case already, but does not work.

The button should be initialized by checking the nervousnet state first:

  • call to nVM.getNervousnetState()
  • problem: currently it is not possible to reference the button with an outlet because it is in a dynamic cell. Possible fix idea: put Cells of TableView into static mode.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions