Skip to content

Commit

Permalink
[Client] Updated to flutter 3.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Aug 27, 2023
1 parent 77afb66 commit 654f797
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CastIt.Client/.fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutterSdkVersion": "3.13.0",
"flutterSdkVersion": "3.13.1",
"flavors": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ class _Content extends StatelessWidget {
trackHeight: 1,
minThumbSeparation: 0,
disabledActiveTrackColor: theme.colorScheme.secondary,
overlayShape: const RoundSliderThumbShape(enabledThumbRadius: 0.0, disabledThumbRadius: 0.0),
overlayShape: const RoundSliderThumbShape(enabledThumbRadius: .1, disabledThumbRadius: .1),
thumbColor: Colors.transparent,
thumbShape: const RoundSliderThumbShape(enabledThumbRadius: 0.0, disabledThumbRadius: 0.0),
thumbShape: const RoundSliderThumbShape(enabledThumbRadius: .1, disabledThumbRadius: .1),
),
child: BlocBuilder<PlayedFileItemBloc, PlayedFileItemState>(
builder: (ctx, state) => Slider(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ extension AppThemeTypeExtensions on AppAccentColorType {
primaryColorLight: color.withOpacity(0.5),
primaryColorDark: color,
colorScheme: ColorScheme.dark(primary: color, secondary: color),
useMaterial3: false,
);
case AppThemeType.light:
return ThemeData.light().copyWith(
primaryColor: color,
primaryColorLight: color.withOpacity(0.8),
primaryColorDark: color,
colorScheme: ColorScheme.light(primary: color, secondary: color),
useMaterial3: false,
);
default:
throw Exception('The provided theme = $theme is not valid ');
Expand Down
2 changes: 1 addition & 1 deletion CastIt.Client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.1.3+19
version: 1.1.3+20

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down
37 changes: 34 additions & 3 deletions CastIt.Client/run_build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
#!/bin/bash
set -e

sh run_build_android.sh
sh run_build_ios.sh
sh run_build_macos.sh
run_clean=1
build_android=1
build_ios=1
build_macos=1

while [[ "$#" -gt 0 ]]; do
case $1 in
--no_clean) run_clean=0 ;;
--no_android) build_android=0 ;;
--no_ios) build_ios=0 ;;
--no_macos) build_macos=0 ;;
*)
echo "Unknown parameter passed: $1"
exit 1
;;
esac
shift
done

if [ "$run_clean" = 1 ]; then
sh run_clean.sh
fi

if [ "$build_android" = 1 ]; then
sh run_build_android.sh
fi

if [ "$build_ios" = 1 ]; then
sh run_build_ios.sh
fi

if [ "$build_macos" = 1 ]; then
sh run_build_macos.sh
fi

0 comments on commit 654f797

Please sign in to comment.