Skip to content

Commit

Permalink
Merge pull request #181 from lschaeffer313/develop
Browse files Browse the repository at this point in the history
Mise à jour main
  • Loading branch information
lschaeffer313 committed Jul 23, 2023
2 parents 747320b + ff1861b commit c91a2a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion lib/page/domaine_detail_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class _DomaineDetailPage extends State<DomaineDetailPage> {

List<Widget> _displayDomaineInfo() {
_title = _domaineInfo!.nom;
var isMultipleDNS = _domaineInfo!.dns.length > 1;
var listWidget = List<Widget>.of([]);
if (!_domaineInfo!.isProtected) {
var dateCreation = DateFormat.yMMMd().format(_domaineInfo!.dateCreation!);
Expand Down Expand Up @@ -161,7 +162,7 @@ class _DomaineDetailPage extends State<DomaineDetailPage> {
),
DomainSpecificInfo(
icon: const Icon(Icons.dns_rounded, size: 35),
title: "Serveur DNS :",
title: isMultipleDNS ? "Serveurs DNS :" : "Serveur DNS :",
subtitle: _listeDNS(),
)
]);
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,18 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c
sha256: "2118df84ef0c3ca93f96123a616ae8540879991b8b57af2f81b76a7ada49b2a4"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "2.0.2"
flutter_markdown:
dependency: "direct main"
description:
name: flutter_markdown
sha256: "7b25c10de1fea883f3c4f9b8389506b54053cd00807beab69fd65c8653a2711f"
sha256: dc6d5258653f6857135b32896ccda7f7af0c54dcec832495ad6835154c6c77c0
url: "https://pub.dev"
source: hosted
version: "0.6.14"
version: "0.6.15"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies:
skeletons: ^0.0.3
intl: ^0.18.1
add_2_calendar: ^2.2.3
flutter_markdown: ^0.6.14
flutter_markdown: ^0.6.15
url_launcher: ^6.1.11

dev_dependencies:
Expand All @@ -50,7 +50,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.1
flutter_lints: ^2.0.2

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit c91a2a4

Please sign in to comment.