add TCP server address and port settings to AppSettings and update TcpScreen

This commit is contained in:
Winston Lowe 2026-03-14 11:46:05 -07:00
parent 79a45c527b
commit 24fa78741b
3 changed files with 36 additions and 2 deletions

View file

@ -182,4 +182,12 @@ class AppSettingsService extends ChangeNotifier {
..remove(channelName);
await updateSettings(_settings.copyWith(mutedChannels: updated));
}
Future<void> setTcpServerAddress(String value) async {
await updateSettings(_settings.copyWith(tcpServerAddress: value));
}
Future<void> setTcpServerPort(int value) async {
await updateSettings(_settings.copyWith(tcpServerPort: value));
}
}