Skip to content
Snippets Groups Projects
Commit 06343358 authored by poka's avatar poka
Browse files

upgrade flutter 3.7

parent 9a4c1d60
No related branches found
No related tags found
No related merge requests found
Pipeline #18565 failed
......@@ -166,8 +166,8 @@ class Gecko extends StatelessWidget {
),
primaryColor: const Color(0xffFFD58D),
textTheme: const TextTheme(
bodyText1: TextStyle(fontSize: 16),
bodyText2: TextStyle(fontSize: 18),
bodyLarge: TextStyle(fontSize: 16),
bodyMedium: TextStyle(fontSize: 18),
).apply(
bodyColor: const Color(0xFF000000),
),
......
// ignore_for_file: use_build_context_synchronously
// ignore_for_file: use_build_context_synchronously, body_might_complete_normally_catch_error
import 'package:easy_localization/easy_localization.dart';
import 'package:fast_base58/fast_base58.dart';
......
// ignore_for_file: use_build_context_synchronously
import 'package:bubble/bubble.dart';
import 'package:easy_localization/easy_localization.dart';
......
......@@ -24,8 +24,6 @@ import 'package:gecko/widgets/commons/smooth_transition.dart';
import 'package:provider/provider.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:truncate/truncate.dart';
import 'package:tutorial_coach_mark/tutorial_coach_mark.dart';
class WalletsHome extends StatefulWidget {
const WalletsHome({Key? key}) : super(key: key);
......
This diff is collapsed.
#!/bin/bash
# [[ -z $1 ]] && echo "Please choose a version." && exit 1
fVersion=$(grep "version: " pubspec.yaml | awk '{ print $2 }')
......@@ -8,7 +7,9 @@ withPush=$1
APPNAME="gecko"
VERSION=$(awk -F '+' '{ print $1 }' <<<$fVersion)
BUILD=$(awk -F '+' '{ print $2 }' <<<$fVersion)
ori_app="app.apk"
v7_app="app-armeabi-v7a-release.apk"
v8_app="app-arm64-v8a-release.apk"
x86_64_app="app-x86_64-release.apk"
echo "Nom du build final: ${APPNAME}-${VERSION}+${BUILD}.apk"
[[ $withPush == "withPush" ]] && echo "Publish after build"
......@@ -25,18 +26,13 @@ else
# flutter build apk --release --build-name $VERSION --build-number $BUILD
fi
if [[ -d $HOME/kDrive/Gecko-APK ]]; then
DL="$HOME/kDrive/Gecko-APK"
elif [[ -d $HOME/Téléchargements ]]; then
DL="$HOME/Téléchargements"
elif [[ -d $HOME/Downloads ]]; then
DL="$HOME/Downloads"
else
DL="/tmp"
fi
appPath="$DL/${APPNAME}-${VERSION}+${BUILD}.apk"
mv build/app/outputs/flutter-apk/$ori_app "$appPath" || exit 1
appPathV7="$DL/${APPNAME}-${VERSION}+${BUILD}-v7a.apk"
appPathV8="$DL/${APPNAME}-${VERSION}+${BUILD}-v8a.apk"
appPathV8="$DL/${APPNAME}-${VERSION}+${BUILD}-x86_64.apk"
mv build/app/outputs/flutter-apk/$v7_app "$appPathV7" || exit 1
mv build/app/outputs/flutter-apk/$v8_app "$appPathV8" || exit 1
mv build/app/outputs/flutter-apk/$x86_64_app "$appPathV8" || exit 1
[[ $withPush == "withPush" ]] && /home/poka/scripts/link/pushGecko $VERSION+$BUILD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment