Added back host and ingame username

This commit is contained in:
Alessandro Autiero
2022-09-06 15:13:20 +02:00
parent e36c0762aa
commit 04f24f691f
15 changed files with 27 additions and 26 deletions

View File

@@ -5,14 +5,13 @@ import 'package:reboot_launcher/src/widget/smart_input.dart';
import 'package:reboot_launcher/src/controller/server_controller.dart';
class PortInput extends StatelessWidget {
final ServerController _serverController = Get.put(ServerController());
final ServerController _serverController = Get.find<ServerController>();
PortInput({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Obx(() => SmartInput(
keyName: "port",
label: "Port",
placeholder: "Type the host port",
controller: _serverController.port,