]> git.proxmox.com Git - flutter/pve_flutter_frontend.git/commit - lib/pages/main_layout_slim.dart
compat: ignore provider changes when not stateful
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Mar 2021 16:26:39 +0000 (17:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Mar 2021 16:26:45 +0000 (17:26 +0100)
commitbf600e56c843b63e0fd7f18a856f4f7a928627f7
tree8f09e041bd1c85cc6b1c82dd4e7f813246b6a2f2
parent1ba800e6450dd7e9dfc173e6a581bd0bffd17e2c
compat: ignore provider changes when not stateful

in callbacks for button events or other things which need a new
provider we canno listen to the provider events at this point in the
hierachy, as there's nothing we can trigger a state change on (or we
already are in a state change event callback, and must not recurse)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
lib/main.dart
lib/pages/main_layout_slim.dart