mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-04 07:14:56 -04:00
clean up windows and loading state
This commit is contained in:
parent
ad9a77d68f
commit
d00722433d
13 changed files with 130 additions and 175 deletions
|
@ -29,10 +29,10 @@ class DeveloperPage extends StatefulWidget {
|
|||
const DeveloperPage({super.key});
|
||||
|
||||
@override
|
||||
DeveloperPageState createState() => DeveloperPageState();
|
||||
State<DeveloperPage> createState() => _DeveloperPageState();
|
||||
}
|
||||
|
||||
class DeveloperPageState extends State<DeveloperPage> {
|
||||
class _DeveloperPageState extends State<DeveloperPage> {
|
||||
final _terminalController = TerminalController();
|
||||
final _debugCommandController = TextEditingController();
|
||||
final _logLevelController = DropdownController(duration: 250.ms);
|
||||
|
@ -43,6 +43,12 @@ class DeveloperPageState extends State<DeveloperPage> {
|
|||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||
await changeWindowSetup(
|
||||
TitleBarStyle.normal, OrientationCapability.normal);
|
||||
});
|
||||
|
||||
_terminalController.addListener(() {
|
||||
setState(() {});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue