Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PE-6146: Release ArDrive v2.45.0 #1748

Merged
merged 13 commits into from
May 15, 2024
Merged
1 change: 1 addition & 0 deletions android/fastlane/metadata/android/en-US/changelogs/128.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Adds option to choose payment method for manifest uploads, including Turbo Credits
35 changes: 23 additions & 12 deletions lib/app_shell.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ class AppShellState extends State<AppShell> {
),
BlocBuilder<ProfileCubit, ProfileState>(
builder: (context, state) {
final typography =
ArDriveTypographyNew.of(context);
return FutureBuilder(
future: context
.read<ProfileCubit>()
Expand All @@ -106,22 +108,29 @@ class AppShellState extends State<AppShell> {
child: Material(
borderRadius: BorderRadius.circular(8),
child: ProgressDialog(
useNewArDriveUI: true,
progressBar: ProgressBar(
percentage: context
.read<SyncCubit>()
.syncProgressController
.stream,
),
percentageDetails: _syncStreamBuilder(
builderWithData: (syncProgress) =>
Text(appLocalizationsOf(
context)
.syncProgressPercentage(
(syncProgress
.progress *
100)
.roundToDouble()
.toString()))),
percentageDetails:
_syncStreamBuilder(
builderWithData: (syncProgress) =>
Text(
appLocalizationsOf(context)
.syncProgressPercentage(
(syncProgress.progress * 100)
.roundToDouble()
.toString(),
),
style:
typography.paragraphNormal(
fontWeight: ArFontWeight.bold,
),
),
),
progressDescription:
_syncStreamBuilder(
builderWithData: (syncProgress) =>
Expand All @@ -140,8 +149,10 @@ class AppShellState extends State<AppShell> {
: appLocalizationsOf(
context)
.syncingOnlyOneDrive,
style: ArDriveTypography.body
.buttonNormalBold(),
style:
typography.paragraphNormal(
fontWeight: ArFontWeight.bold,
),
),
),
title: isCurrentProfileArConnect
Expand Down
Loading
Loading