mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 03:02:22 +01:00
Added settings tab
This commit is contained in:
@@ -43,9 +43,7 @@ class GameController extends GetxController {
|
||||
});
|
||||
|
||||
username = TextEditingController(text: _storage.read("${type.value == GameType.client ? 'game' : 'host'}_username") ?? "");
|
||||
username.addListener(() async {
|
||||
await _storage.write("${type.value == GameType.client ? 'game' : 'host'}_username", username.text);
|
||||
});
|
||||
username.addListener(() => _storage.write("${type.value == GameType.client ? 'game' : 'host'}_username", username.text));
|
||||
|
||||
started = RxBool(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user