Skip to content

Commit f20db80

Browse files
committed
[bug] 修复定位失败问题
Signed-off-by: xiaweizi <1012126908@qq.com>
1 parent 6fb5380 commit f20db80

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
<meta-data
5959
android:name="com.amap.api.v2.apikey"
60-
android:value="9c8852cc13bc895241c4d3f55d111401" />
60+
android:value="475e5ad0104d082aa642567d27b6f481" />
6161

6262
<provider
6363
android:name="sk.fourq.otaupdate.OtaUpdateFileProvider"

ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import AMapFoundationKit
99
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
1010
) -> Bool {
1111
GeneratedPluginRegistrant.register(with: self)
12-
AMapServices.shared()?.apiKey = "9a313effeb3ba1be5dfdcc42308d7d07"
12+
AMapServices.shared()?.apiKey = "1acd2fca2d9361152f3e77d0d7807043"
1313
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
1414
}
1515
}

lib/views/pages/manager/manager_page.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class _ManagerPageState extends State<ManagerPage> {
129129
),
130130
onPressed: () {
131131
Navigator.of(context).pop();
132-
globalHeight = MediaQuery.of(context).size.height;
133132
},
134133
),
135134
),
@@ -165,7 +164,7 @@ class _ManagerPageState extends State<ManagerPage> {
165164
Widget _buildItemContentWidget(ManagerData data) {
166165
return Stack(
167166
children: [
168-
WeatherBg(weatherType: data.weatherType, height: 100, width: MediaQuery.of(context).size.width,),
167+
WeatherColorBg(weatherType: data.weatherType, height: 100,),
169168
Container(
170169
height: 100,
171170
child: Row(

0 commit comments

Comments
 (0)