Navigációs fejlesztések, kitűzési fejlesztések
This commit is contained in:
@@ -30,7 +30,7 @@ class MapView extends GetView<MapViewController> {
|
||||
children: [
|
||||
Text('Térkép'),
|
||||
Text(
|
||||
"Budapest",
|
||||
"Zalaegerszeg",
|
||||
style: TextStyle(fontSize: 12.0),
|
||||
)
|
||||
],
|
||||
@@ -89,8 +89,27 @@ class MapView extends GetView<MapViewController> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 20.0),
|
||||
child: GestureDetector(
|
||||
onTap: () => Get.to(() => SettingsDialog(),
|
||||
transition: Transition.downToUp),
|
||||
onTap: () {
|
||||
controller.readPointsFromSupa();
|
||||
},
|
||||
child: const Icon(Icons.cloud_download,
|
||||
size: 26.0, color: Colors.blue),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 20.0),
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
if (controller.ntripUserName.value.isNotEmpty) {
|
||||
controller.ntripUsernameController.text =
|
||||
controller.ntripUserName.value;
|
||||
}
|
||||
if (controller.ntripPassword.value.isNotEmpty) {
|
||||
controller.ntripPasswordController.text =
|
||||
controller.ntripPassword.value;
|
||||
}
|
||||
Get.to(() => SettingsDialog(), transition: Transition.downToUp);
|
||||
},
|
||||
child: const Icon(
|
||||
Icons.more_vert,
|
||||
size: 26.0,
|
||||
|
||||
Reference in New Issue
Block a user