Skip to content

Commit

Permalink
release prep - updating version, hiding wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
n13 committed Jul 5, 2023
1 parent fad3e85 commit e7ecc8d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
12 changes: 6 additions & 6 deletions lib/ui/bottom_navigation/components/bottom_navigation_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BottomNavigationView extends StatelessWidget {
currentIndex: state.selectedPage,
onTap: (int index) {
BlocProvider.of<BottomNavigationBloc>(context).add(BottomNavigationEvent.onPageSelected(index));
if (index == 4) {
if (index == 3) {
BlocProvider.of<SettingsBloc>(context).add(const SettingsEvent.onShowSettings());
}
},
Expand All @@ -55,10 +55,10 @@ class BottomNavigationView extends StatelessWidget {
icon: Padding(padding: EdgeInsets.only(bottom: 6), child: Icon(HyphaIcons.home_b, size: 20)),
label: 'Scan-QR',
),
const BottomNavigationBarItem(
icon: Padding(padding: EdgeInsets.only(bottom: 6), child: Icon(HyphaIcons.wallet_b, size: 20)),
label: 'Wallet',
),
// const BottomNavigationBarItem(
// icon: Padding(padding: EdgeInsets.only(bottom: 6), child: Icon(HyphaIcons.wallet_b, size: 20)),
// label: 'Wallet',
// ),
const BottomNavigationBarItem(
icon: Padding(padding: EdgeInsets.only(bottom: 6), child: Icon(HyphaIcons.history_b, size: 20)),
label: 'History',
Expand All @@ -81,7 +81,7 @@ class BottomNavigationView extends StatelessWidget {
index: state.selectedPage,
children: [
const HomePage(),
const WalletPage(),
// const WalletPage(),
const TransactionsPage(),
const ProfilePage(),
const SettingsPage(),
Expand Down
6 changes: 2 additions & 4 deletions lib/ui/settings/settings_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,15 @@ class SettingsView extends StatelessWidget {
'Hypha Wallet Version: ${state.version}',
style: context.hyphaTextTheme.ralMediumBody.copyWith(
color: HyphaColors.midGrey,
decoration: TextDecoration.underline,
fontSize: 14,
fontSize: 12,
),
textAlign: TextAlign.center,
),
Text(
'Build Number: ${state.buildNumber}',
style: context.hyphaTextTheme.ralMediumBody.copyWith(
color: HyphaColors.midGrey,
decoration: TextDecoration.underline,
fontSize: 14,
fontSize: 12,
),
textAlign: TextAlign.center,
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.1.1+30
version: 1.1.2+31

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down

0 comments on commit e7ecc8d

Please sign in to comment.