Ntrip szervíz refraktorálás, beállítások, jelszó secure store-ba
This commit is contained in:
@@ -7,6 +7,18 @@ import '../controllers/ntrip_settings_controller.dart';
|
||||
class NtripSettingsSheet extends GetView<NtripSettingsController> {
|
||||
const NtripSettingsSheet({super.key});
|
||||
|
||||
static Future<void> show() async {
|
||||
Get.put(NtripSettingsController());
|
||||
try {
|
||||
await Get.bottomSheet(
|
||||
const NtripSettingsSheet(),
|
||||
isScrollControlled: true,
|
||||
);
|
||||
} finally {
|
||||
Get.delete<NtripSettingsController>();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final colorScheme = Theme.of(context).colorScheme;
|
||||
@@ -97,7 +109,7 @@ class NtripSettingsSheet extends GetView<NtripSettingsController> {
|
||||
controller: controller.mountPointController,
|
||||
decoration: const InputDecoration(
|
||||
labelText: 'Mountpoint',
|
||||
hintText: 'pl. BUDAPEST_RTCM32',
|
||||
hintText: 'pl. SGO_RTK3.2',
|
||||
prefixIcon: Icon(Icons.place),
|
||||
),
|
||||
textInputAction: TextInputAction.next,
|
||||
|
||||
Reference in New Issue
Block a user