Skip to content

Commit d3bae1b

Browse files
committed
remove todos which have been imlemented
1 parent 7ec0bfc commit d3bae1b

9 files changed

Lines changed: 0 additions & 10 deletions

File tree

lib/components/page_padding.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class PagePadding extends StatefulWidget {
1313
class PagePaddingState extends State<PagePadding> {
1414
@override
1515
Widget build(BuildContext context) {
16-
// TODO: implement build
1716
return Padding(
1817
padding: EdgeInsets.all(10),
1918
child: widget.child,

lib/screens/logs/log_stats/log_stats.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class LogStatScreen extends StatefulWidget {
2929
class _LogStatScreenState extends State<LogStatScreen> {
3030
@override
3131
void initState() {
32-
// TODO: implement initState
3332
widget.state.reloadShockerLogs = () {
3433
rebuildStats();
3534
};

lib/screens/logs/logs.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class LogScreenState extends State<LogScreen> {
8686
ShockerLogStats s = ShockerLogStats(themeData: Theme.of(context));
8787
s.addLogs(logs);
8888
s.doStats();
89-
// ToDo: Open stats page with the stats
9089
Navigator.of(context).push(MaterialPageRoute(
9190
builder: (context) => LogStatScreen(shockers: shockers, stats: s, state: this,)));
9291
return s;

lib/screens/shockers/hub_item.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ class HubItemState extends State<HubItem> {
281281

282282
void showCurrentToken({bool isCurrent = false}) async {
283283
LoadingDialog.show("Loading${isCurrent ? "" : " new"} token");
284-
// ToDo: show new token
285284
ErrorContainer<OpenShockDevice> device =
286285
await OpenShockClient().getDeviceDetails(hub);
287286
Navigator.of(context).pop();

lib/screens/shockers/individual/shockers.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ class ShockerScreen extends StatefulWidget {
128128
Navigator.of(context).pop();
129129
await manager.updateShockerStore();
130130
reloadState();
131-
// ToDo add pair code thingy
132131
await HubItem.pairHub(context, manager, hub.hubId!);
133132
await manager.updateShockerStore();
134133
reloadState();

lib/screens/shockers/live/live_controls.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ class _LiveControlsState extends State<LiveControls> {
128128

129129
@override
130130
void dispose() {
131-
// TODO: implement dispose
132131
super.dispose();
133132
LiveControlWS.onLatencyGlobal = null;
134133
}

lib/screens/tools/bottom/bottom.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ class _BottomScreenState extends State<BottomScreen>
6565

6666
@override
6767
void deactivate() {
68-
// TODO: implement deactivate
6968
WakelockPlus.disable();
7069

7170
_controller.dispose();

lib/screens/tools/random_shocks/bottle_spin.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class _BottleSpinScreenState extends State<BottleSpinScreen> {
3636

3737
@override
3838
void initState() {
39-
// TODO: implement initState
4039
super.initState();
4140
doSpin();
4241
}
@@ -222,7 +221,6 @@ class _BottleSpinScreenState extends State<BottleSpinScreen> {
222221
if (directions.length > 20) {
223222
directions.removeAt(0);
224223
}
225-
// ToDo: check whether it was grabbed in on front or back so angle can be adjusted accordingly
226224
setState(() {
227225
angle = a;
228226
});

lib/services/openshock.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,6 @@ class OpenShockClient {
877877
}
878878
}
879879

880-
// ToDo: Add request for this
881880
class OpenShockBackendInformationData {
882881
String version = "";
883882
String commit = "";

0 commit comments

Comments
 (0)