Skip to content

Commit

Permalink
Fix shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlyp committed Feb 19, 2024
1 parent 9c40cb0 commit 08c6edb
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions bruig/flutterui/bruig/lib/screens/shutdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'dart:async';
import 'package:bruig/components/empty_widget.dart';
import 'package:bruig/components/recent_log.dart';
import 'package:bruig/models/log.dart';
import 'package:bruig/screens/startupscreen.dart';
import 'package:flutter/material.dart';
import 'package:golib_plugin/definitions.dart';
import 'package:golib_plugin/golib_plugin.dart';
Expand Down Expand Up @@ -67,21 +68,22 @@ class _ShutdownScreenState extends State<ShutdownScreen> {

@override
Widget build(BuildContext context) {
return Consumer<ThemeNotifier>(
builder: (context, theme, child) => Container(
padding: const EdgeInsets.all(10),
child: Column(children: [
const SizedBox(height: 89),
Text("Shutting Down Bison Relay",
style: TextStyle(
color: theme.getTheme().dividerColor,
fontSize: theme.getHugeFont(context),
fontWeight: FontWeight.w200)),
clientStopErr != null ? Text(clientStopErr!) : const Empty(),
const SizedBox(height: 20),
const Divider(),
const SizedBox(height: 20),
Expanded(child: LogLines(widget.log))
])));
return Scaffold(
body: StartupScreen(Consumer<ThemeNotifier>(
builder: (context, theme, child) => Container(
padding: const EdgeInsets.all(10),
child: Column(children: [
const SizedBox(height: 89),
Text("Shutting Down Bison Relay",
style: TextStyle(
color: theme.getTheme().dividerColor,
fontSize: theme.getHugeFont(context),
fontWeight: FontWeight.w200)),
clientStopErr != null ? Text(clientStopErr!) : const Empty(),
const SizedBox(height: 20),
const Divider(),
const SizedBox(height: 20),
Expanded(child: LogLines(widget.log))
])))));
}
}

0 comments on commit 08c6edb

Please sign in to comment.