|
|
@@ -16,6 +16,7 @@ abstract class MapPageController extends GetxController {
|
|
|
}
|
|
|
|
|
|
Future<List<MapInfo>> getMapList(int limit, int offset);
|
|
|
+ void afterTopMap();
|
|
|
|
|
|
int get selectedMapId {
|
|
|
return Get.find<MapWatchService>().instance?.id ?? 0;
|
|
|
@@ -25,7 +26,7 @@ abstract class MapPageController extends GetxController {
|
|
|
|
|
|
void onTapMap(MapInfo info) {
|
|
|
selectedMap = info;
|
|
|
- Get.find<MapWatchService>().setMap(info);
|
|
|
+ Get.find<MapWatchService>().setMap(info).then((value) => afterTopMap());
|
|
|
}
|
|
|
|
|
|
Future<void> mapGetMore() async {
|