feat(map in info): minor changes
This commit is contained in:
parent
37638cc9ab
commit
36f0f45a85
2 changed files with 8 additions and 2 deletions
|
@ -48,3 +48,9 @@ Future<bool> requestForMapEnable(BuildContext context) async {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
//For debugging.
|
||||
void disableMap() {
|
||||
UserRemoteFlagService.instance
|
||||
.setBoolValue(UserRemoteFlagService.mapEnabled, false);
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ class _InfoMapState extends State<InfoMap> {
|
|||
clipBehavior: Clip.antiAliasWithSaveLayer,
|
||||
borderRadius: const BorderRadius.all(Radius.circular(8)),
|
||||
child: SizedBox(
|
||||
height: 120,
|
||||
height: 124,
|
||||
child: _hasEnabledMap
|
||||
? Stack(
|
||||
clipBehavior: Clip.none,
|
||||
|
@ -304,7 +304,7 @@ class _InfoMapState extends State<InfoMap> {
|
|||
},
|
||||
child: Center(
|
||||
child: Text(
|
||||
"Enable Maps",
|
||||
S.of(context).enableMaps,
|
||||
style: getEnteTextTheme(context).small,
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue