telemetry toggle (#278)

<img width="1316" alt="image"
src="https://github.com/user-attachments/assets/01dc517c-2e9c-46ea-aaf0-4fff1fd3909d">
This commit is contained in:
Red J Adaya
2024-08-26 18:03:32 -07:00
committed by GitHub
parent fd7fa9f6f1
commit a665d372e3
3 changed files with 7 additions and 1 deletions
+4
View File
@@ -102,6 +102,10 @@
}
}
}
.toggle-label {
color: rgba(255, 255, 255, 0.7);
}
}
footer {
+2
View File
@@ -3,6 +3,7 @@
import Logo from "@/app/asset/logo.svg";
import { Button } from "@/app/element/button";
import { Toggle } from "@/app/element/toggle";
import * as services from "@/store/services";
import { FlexiModal } from "./modal";
@@ -75,6 +76,7 @@ const TosModal = () => {
</a>
to help us understand how people are using Wave.
</div>
<Toggle checked={true} onChange={() => {}} label="Telemetry enabled" />
</div>
</div>
</div>
+1 -1
View File
@@ -95,7 +95,7 @@ func CreateWindow(ctx context.Context, winSize *waveobj.WinSize) (*waveobj.Windo
if winSize == nil {
winSize = &waveobj.WinSize{
Width: 1200,
Height: 800,
Height: 850,
}
}
window := &waveobj.Window{