Skip to content

Commit

Permalink
REmove what's new
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed May 30, 2024
1 parent 8b46d33 commit fac636a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 362 deletions.
6 changes: 0 additions & 6 deletions lib/dashboard/src/view/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ class _DashboardViewState extends State<DashboardView> {
context.read<QRCodeScanCubit>().deepLink();
context.read<BeaconCubit>().startBeacon();

final splashCubit = context.read<SplashCubit>();
if (splashCubit.state.isNewVersion) {
WhatIsNewDialog.show(context);
splashCubit.disableWhatsNewPopUp();
}

// check if enterprise account is suspended or not
if (context.read<ProfileCubit>().state.model.profileType ==
ProfileType.enterprise) {
Expand Down
340 changes: 0 additions & 340 deletions lib/dashboard/src/widgets/what_is_new_dialog.dart

This file was deleted.

1 change: 0 additions & 1 deletion lib/dashboard/src/widgets/widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ export 'bottom_bar_decoration.dart';
export 'bottom_bar_item.dart';
export 'home_title_leading.dart';
export 'new_content.dart';
export 'what_is_new_dialog.dart';
3 changes: 0 additions & 3 deletions lib/import_wallet/cubit/import_wallet_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ class ImportWalletCubit extends Cubit<ImportWalletState> {
await secureStorageProvider.set(SecureStorageKeys.ssiKey, ssiKey);
}

/// what's new popup disabled
splashCubit.disableWhatsNewPopUp();

/// crypto wallet with unknown blockchain type
await walletCubit.createCryptoWallet(
accountName: accountName,
Expand Down
3 changes: 0 additions & 3 deletions lib/onboarding/helper_function/helper_function.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ Future<void> generateAccount({
/// create profile
await profileCubit.load();

/// what's new popup disabled
splashCubit.disableWhatsNewPopUp();

/// crypto wallet
await walletCubit.createCryptoWallet(
mnemonicOrKey: mnemonicFormatted,
Expand Down
9 changes: 0 additions & 9 deletions lib/splash/cubit/splash_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,4 @@ class SplashCubit extends Cubit<SplashState> {
),
);
}

void disableWhatsNewPopUp() {
emit(
state.copyWith(
isNewVersion: false,
status: SplashStatus.idle,
),
);
}
}

0 comments on commit fac636a

Please sign in to comment.