2022-08-28 21:36:42 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:nc_photos/app_localizations.dart';
|
|
|
|
|
|
|
|
class AboutGeocodingDialog extends StatelessWidget {
|
|
|
|
const AboutGeocodingDialog({
|
|
|
|
Key? key,
|
|
|
|
}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
build(BuildContext context) {
|
2022-11-12 10:55:33 +01:00
|
|
|
return AlertDialog(
|
|
|
|
title: Text(L10n.global().gpsPlaceAboutDialogTitle),
|
|
|
|
content: Column(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(L10n.global().gpsPlaceAboutDialogContent),
|
|
|
|
const SizedBox(height: 16),
|
|
|
|
const Divider(height: 16),
|
|
|
|
const Text(
|
|
|
|
"Based on GeoNames Gazetteer data by GeoNames, licensed under CC BY 4.0",
|
|
|
|
),
|
|
|
|
],
|
2022-08-28 21:36:42 +02:00
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|