WIP: Bad icon

This commit is contained in:
poka 2022-05-20 16:02:42 +02:00
parent c5317f984d
commit 81d1b7dd30
34 changed files with 38 additions and 44 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -492,4 +492,4 @@
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -55,7 +55,7 @@ class ConfirmStoreWallet extends StatelessWidget with ChangeNotifier {
}),
title: const SizedBox(
height: 22,
child: Text('Enregistrer ce trousseau'),
child: Text('Enregistrer ce coffre'),
)),
body: Center(
child: Column(children: <Widget>[

View File

@ -48,7 +48,7 @@ class GenerateFastChestScreen extends StatelessWidget {
}),
title: const SizedBox(
height: 22,
child: Text('Générer un trousseau'),
child: Text('Générer un coffre'),
)),
floatingActionButton: SizedBox(
height: 80.0,
@ -144,7 +144,7 @@ class GenerateFastChestScreen extends StatelessWidget {
);
}
: null,
child: const Text('Enregistrer ce trousseau',
child: const Text('Enregistrer ce coffre',
style: TextStyle(fontSize: 20))),
const SizedBox(height: 20),
GestureDetector(
@ -219,7 +219,7 @@ class PrintWallet extends StatelessWidget {
Navigator.pop(context);
}),
toolbarHeight: 60 * ratio,
title: const Text('Imprimer ce trousseau')),
title: const Text('Imprimer ce coffre')),
body: PdfPreview(
build: (format) => _generateWalletProvider.printWallet(sentence),
),

View File

@ -27,7 +27,7 @@ class OnboardingStepOne extends StatelessWidget {
common.onboardingProgressBar(
context, 'Nouveau portefeuilles', progress),
common.bubbleSpeak(
"Il semblerait que vous nayez pas encore de trousseau.\n\nUn trousseau vous permet de gérer un ou plusieurs portefeuilles.",
"Il semblerait que vous nayez pas encore de coffre.\n\nUn coffre vous permet de gérer un ou plusieurs portefeuilles.",
textKey: const Key('step1')),
const SizedBox(height: 90),
Image.asset(
@ -53,7 +53,7 @@ class OnboardingStepOne extends StatelessWidget {
FaderTransition(
page: OnboardingStepTwo(), isFast: true));
},
child: const Text('Créer mon trousseau',
child: const Text('Créer mon coffre',
style: TextStyle(fontSize: 20))),
))),
const SizedBox(height: 80),

View File

@ -25,7 +25,7 @@ class OnboardingStepTwelve extends StatelessWidget {
common.onboardingProgressBar(
context, 'Ma phrase de restauration', progress),
common.bubbleSpeak(
"Si un jour vous changez de téléphone, votre code secret sera différent, mais il vous suffira de me redonner votre phrase de restauration pour recréer votre trousseau.",
"Si un jour vous changez de téléphone, votre code secret sera différent, mais il vous suffira de me redonner votre phrase de restauration pour recréer votre coffre.",
textKey: const Key('step10'),
),
const SizedBox(height: 10),

View File

@ -25,7 +25,7 @@ class OnboardingStepFiveteen extends StatelessWidget {
common.onboardingProgressBar(
context, 'Ma phrase de restauration', progress),
common.bubbleSpeak(
"Top !\n\nVotre trousseau de clef et votre portefeuille ont été créés avec un immense succès.\n\nFélicitations !",
"Top !\n\nVotre coffre de clef et votre portefeuille ont été créés avec un immense succès.\n\nFélicitations !",
textKey: const Key('step13'),
),
SizedBox(height: isTall ? 20 : 10),

View File

@ -28,7 +28,7 @@ class OnboardingStepTwo extends StatelessWidget {
common.onboardingProgressBar(
context, 'Nouveau portefeuilles', progress),
common.bubbleSpeak(
"Un trousseau est créé à partir dune phrase de restauration.",
"Un coffre est créé à partir dune phrase de restauration.",
textKey: const Key('step2'),
),
const SizedBox(height: 70),

View File

@ -25,7 +25,7 @@ class OnboardingStepFor extends StatelessWidget {
common.onboardingProgressBar(
context, 'Ma phrase de restauration', progress),
common.bubbleSpeak(
"Si un jour vous changez de téléphone, il vous suffira de me redonner votre phrase de restauration pour recréer votre trousseau.",
"Si un jour vous changez de téléphone, il vous suffira de me redonner votre phrase de restauration pour recréer votre coffre.",
textKey: const Key('step3'),
),
SizedBox(height: isTall ? 15 : 0),

View File

@ -25,7 +25,7 @@ class OnboardingStepFive extends StatelessWidget {
common.onboardingProgressBar(
context, 'Ma phrase de restauration', progress),
common.bubbleSpeak(
"Par contre, attention :\n\nDans une blockchain, il ny a pas de procédure de récupération de trousseau.\n\nSi vous perdez votre phrase de restauration, je ne pourrai pas vous la communiquer, et vous ne pourrez donc plus jamais accéder à votre compte.",
"Par contre, attention :\n\nDans une blockchain, il ny a pas de procédure de récupération de coffre.\n\nSi vous perdez votre phrase de restauration, je ne pourrai pas vous la communiquer, et vous ne pourrez donc plus jamais accéder à votre compte.",
textKey: const Key('step4'),
),
SizedBox(height: isTall ? 30 : 10),

View File

@ -221,7 +221,7 @@ class PrintWallet extends StatelessWidget {
Navigator.pop(context);
}),
toolbarHeight: 60 * ratio,
title: const Text('Imprimer ce trousseau')),
title: const Text('Imprimer ce coffre')),
body: PdfPreview(
build: (format) => _generateWalletProvider.printWallet(sentence),
),

View File

@ -33,7 +33,7 @@ class OnboardingStepEleven extends StatelessWidget {
style: TextStyle(fontWeight: FontWeight.bold)),
const TextSpan(
text:
" \n\nVotre code secret chiffre votre trousseau de clefs, ce qui le rend inutilisable par dautres, par exemple si vous perdez votre téléphone ou si on vous le vole."),
" \n\nVotre code secret chiffre votre coffre de clefs, ce qui le rend inutilisable par dautres, par exemple si vous perdez votre téléphone ou si on vous le vole."),
],
textKey: const Key('step9'),
),

View File

@ -30,7 +30,6 @@ class SettingsScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
SubstrateSdk _sub = Provider.of<SubstrateSdk>(context, listen: false);
const double buttonHigh = 50;
const double buttonWidth = 240;
@ -96,7 +95,7 @@ class SettingsScreen extends StatelessWidget {
}),
),
child: const Text(
"Générer un trousseau",
"Générer un coffre",
style: TextStyle(fontSize: fontSize),
),
),

View File

@ -42,7 +42,7 @@ class SubstrateSandBox extends StatelessWidget {
'Noeud "${_sub.sdk.api.connectedNode!.name}", bloc N°${_sub.blocNumber}'),
const SizedBox(height: 20),
Row(children: [
const Text('Liste des trousseaux:'),
const Text('Liste des coffres:'),
const Spacer(),
InkWell(
child: Image.asset(
@ -100,7 +100,7 @@ class SubstrateSandBox extends StatelessWidget {
]);
}),
const SizedBox(height: 20),
const Text('Mot de passe du trousseau:'),
const Text('Mot de passe du coffre:'),
TextField(
controller: _sub.keystorePassword,
obscureText: true,
@ -127,7 +127,7 @@ class SubstrateSandBox extends StatelessWidget {
context,
res != ''
? 'Portefeuille importé'
: 'Le format de trousseau est invalide');
: 'Le format de coffre est invalide');
}
: null,
child: const Text(

View File

@ -368,6 +368,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "5.4.3+7"
flutter_launcher_icons_maker:
dependency: "direct dev"
description:
name: flutter_launcher_icons_maker
url: "https://pub.dartlang.org"
source: hosted
version: "0.10.2"
flutter_lints:
dependency: "direct main"
description:
@ -567,13 +574,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
icons_launcher:
dependency: "direct dev"
description:
name: icons_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.8"
image:
dependency: transitive
description:
@ -1306,13 +1306,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
universal_io:
dependency: transitive
description:
name: universal_io
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
unorm_dart:
dependency: "direct main"
description:

View File

@ -80,14 +80,8 @@ dependencies:
url: https://github.com/poka-IT/sdk.git
ref: fixAndroidActivityVersion
flutter_icons:
android: true
ios: true
image_path: "assets/icon/gecko_flat.png"
remove_alpha_ios: true
dev_dependencies:
icons_launcher: ^1.1.3
flutter_launcher_icons_maker: ^0.10.2
build_runner: ^2.1.2
flutter_test:
sdk: flutter
@ -95,6 +89,12 @@ dev_dependencies:
integration_test:
sdk: flutter
flutter_icons:
android: true
ios: true
image_path: "assets/icon/gecko_flat.png"
remove_alpha_ios: true
# The following section is specific to Flutter.
flutter:
uses-material-design: true

View File

@ -22,7 +22,9 @@ else
# flutter build apk --release --build-name $VERSION --build-number $BUILD
fi
if [[ -d $HOME/Téléchargements ]]; then
if [[ -d $HOME/Nextcloud/Gecko-APK ]]; then
DL="$HOME/Nextcloud/Gecko-APK"
elif [[ -d $HOME/Téléchargements ]]; then
DL="$HOME/Téléchargements"
elif [[ -d $HOME/Downloads ]]; then
DL="$HOME/Downloads"

View File

@ -1,5 +1,5 @@
#!/bin/bash
flutter pub run flutter_launcher_icons:main
flutter pub run flutter_launcher_icons_maker:main
exit 0

View File

@ -216,7 +216,7 @@ void main() {
test('OnBoarding - Generate secret code and confirm it', (
{timeout = Timeout.none}) async {
expect(await getText('step9'),
"Super !\n\nJe vais maintenant créer votre code secret. \n\nVotre code secret chiffre votre trousseau de clefs, ce qui le rend inutilisable par dautres, par exemple si vous perdez votre téléphone ou si on vous le vole.");
"Super !\n\nJe vais maintenant créer votre code secret. \n\nVotre code secret chiffre votre coffre de clefs, ce qui le rend inutilisable par dautres, par exemple si vous perdez votre téléphone ou si on vous le vole.");
await sleep(800);
await tapOn('goStep10');
await sleep(50);
@ -248,7 +248,7 @@ void main() {
await driver!.enterText(pinCode!);
expect(await getText('step13'),
"Top !\n\nVotre trousseau de clef et votre portefeuille ont été créés avec un immense succès.\n\nFélicitations !");
"Top !\n\nVotre coffre et votre portefeuille ont été créés avec un immense succès.\n\nFélicitations !");
});
test('My wallets - Rename first derivation', (