Skip to content

Commit d2ac7ba

Browse files
committed
v1.13.3 - explorateur complet, version corrigée, lien mise à jour
- Agrandit les icônes de l'explorateur intégré. - Affiche tous les fichiers du téléphone (icônes par type). - Corrige AppInfo.version en 1.13.3. - Le bouton de mise à jour ouvre GitHub Releases latest.
1 parent 5db0b4d commit d2ac7ba

7 files changed

Lines changed: 261 additions & 43 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PDF Tech regroupe 23 outils PDF dans une seule application Flutter Android. Tous
1515

1616
**Distribution** : l'application est publiée sur **GitHub Releases**. Elle n'est pas distribuée via Google Play Store.
1717

18-
Version actuelle : **1.13.2**.
18+
Version actuelle : **1.13.3**.
1919

2020
### Fonctionnalités
2121

@@ -119,7 +119,7 @@ PDF Tech bundles 23 PDF tools into a single Flutter Android app. All processing
119119

120120
**Distribution** : the app is published on **GitHub Releases**. It is not distributed through the Google Play Store.
121121

122-
Current version : **1.13.2**.
122+
Current version : **1.13.3**.
123123

124124
### Features
125125

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
v1.13.3 — Full file explorer & version fix
2+
3+
The built-in file browser now shows all phone files (images, videos, audio, documents, archives…) with color-coded type icons. Only PDFs remain selectable.
4+
5+
Fixed the version displayed inside the app (1.13.3).
6+
7+
The "Check for updates" button now opens the GitHub Releases latest page directly to download the latest APK.
8+
9+
100% local.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
v1.13.3 — Explorateur de fichiers complet & version corrigée
2+
3+
L'explorateur intégré affiche maintenant tous les fichiers du téléphone (images, vidéos, audio, documents, archives…) avec des icônes colorées par type. Seuls les PDFs restent sélectionnables.
4+
5+
Correction de la version affichée dans l'application (1.13.3).
6+
7+
Le bouton "Vérifier les mises à jour" ouvre directement la page GitHub Releases latest pour télécharger la dernière APK.
8+
9+
100 % local.

‎lib/core/app_info.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AppInfo {
77

88
/// Version de l'app, alignée sur `pubspec.yaml`.
99
/// **Ne jamais bumper sans bumper aussi `pubspec.yaml`.**
10-
static const String version = '1.13.1';
10+
static const String version = '1.13.3';
1111

1212
/// Nombre d'outils PDF accessibles depuis le grid + viewer (annoter,
1313
/// lecture). Mis à jour si une tuile est ajoutée/retirée.

‎lib/screens/about_screen.dart‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import 'dart:async';
22

33
import 'package:flutter/material.dart';
44
import 'package:files_tech_core/files_tech_core.dart';
5+
import 'package:url_launcher/url_launcher.dart';
56
import '../core/app_info.dart';
67
import '../services/app_update.dart';
78
import '../utils/snack_utils.dart';
@@ -53,7 +54,7 @@ class _AboutScreenState extends State<AboutScreen> {
5354
(
5455
icon: Icons.document_scanner_outlined,
5556
label: 'OCR',
56-
desc: 'Extraire le texte (natif + ML Kit pour scannés)',
57+
desc: 'Extraire le texte avec Tesseract (hors ligne)',
5758
),
5859
(
5960
icon: Icons.draw,
@@ -72,6 +73,13 @@ class _AboutScreenState extends State<AboutScreen> {
7273
),
7374
];
7475

76+
Future<void> _openDownloadPage() async {
77+
final uri = Uri.parse('${AppInfo.githubUrl}/releases/latest');
78+
if (await canLaunchUrl(uri)) {
79+
await launchUrl(uri, mode: LaunchMode.externalApplication);
80+
}
81+
}
82+
7583
Future<void> _checkUpdate() async {
7684
setState(() => _checkingUpdate = true);
7785
final info = await appUpdateService.checkForUpdate(force: true);
@@ -157,8 +165,11 @@ class _AboutScreenState extends State<AboutScreen> {
157165
child: const Text('Plus tard'),
158166
),
159167
FilledButton(
160-
onPressed: () => Navigator.pop(ctx),
161-
child: const Text('OK'),
168+
onPressed: () {
169+
Navigator.pop(ctx);
170+
_openDownloadPage();
171+
},
172+
child: const Text('Télécharger'),
162173
),
163174
],
164175
);

0 commit comments

Comments
 (0)