Compare commits

...

2 commits

Author SHA1 Message Date
64dc319223 Merge branch 'dev' 2024-04-25 22:13:24 -04:00
29211b4762 Fix infinite load on new profile variant 2024-04-25 21:33:14 -04:00
5 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View file

@ -49,3 +49,4 @@ yalc.lock
# packaging
/PowerTools
**.zip
deck.json

2
backend/Cargo.lock generated
View file

@ -1170,7 +1170,7 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
[[package]]
name = "powertools"
version = "2.0.1"
version = "2.0.2"
dependencies = [
"async-trait",
"chrono",

View file

@ -1,6 +1,6 @@
[package]
name = "powertools"
version = "2.0.1"
version = "2.0.2"
edition = "2021"
authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
description = "Backend (superuser) functionality for PowerTools"

View file

@ -1,6 +1,6 @@
{
"name": "PowerTools",
"version": "2.0.1",
"version": "2.0.2",
"description": "Power tweaks for power users",
"scripts": {
"build": "shx rm -rf dist && rollup -c",

View file

@ -364,6 +364,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
(ok: boolean) => {
backend.log(backend.LogLevel.Debug, "New settings variant ok? " + ok);
reload();
isVariantLoading = false;
backend.resolve(backend.waitForComplete(), (_) => {
backend.log(backend.LogLevel.Debug, "Trying to tell UI to re-render due to new settings variant");
tryNotifyProfileChange();