Skip to content

Commit

Permalink
github page
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnetwork committed Jul 14, 2024
1 parent 1870bb0 commit ae2afa9
Show file tree
Hide file tree
Showing 8 changed files with 45,586 additions and 45,643 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/flutter_bootstrap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const MANIFEST = 'flutter-app-manifest';
const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';

const RESOURCES = {"flutter_bootstrap.js": "7399ea6f6daeba06016ffced0989f239",
const RESOURCES = {"flutter_bootstrap.js": "c23ff2885049441bc6ace5ebe8f53db3",
"version.json": "0f9f2ffb24a19467500eb85d657b2d18",
"index.html": "f2da486a6c6399d6260c177726365967",
"/": "f2da486a6c6399d6260c177726365967",
"main.dart.js": "62e1e4dce068e3ec090281dc6ee41dc3",
"main.dart.js": "eb2bfe30817927c826d71ea1e240fc07",
"flutter.js": "383e55f7f3cce5be08fcf1f3881f585c",
"favicon.png": "4b4810b38e78f910793b2e6d97f5cd73",
"main.dart.mjs": "bbc1ab9365dc0d882c80821d5f8b0cee",
Expand Down
91,126 changes: 45,537 additions & 45,589 deletions docs/main.dart.js

Large diffs are not rendered by default.

Binary file modified mrt_wallet/dmg_installer/dmg/mrt_wallet.dmg
Binary file not shown.
2 changes: 1 addition & 1 deletion mrt_wallet/lib/future/wallet/start/pages/appbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class AccountPageSliverHeaderDelegate extends SliverPersistentHeaderDelegate {
double get maxExtent => (accountSize + bottomWidget.preferredSize.height);

@override
double get minExtent => (80 + bottomWidget.preferredSize.height);
double get minExtent => (90 + bottomWidget.preferredSize.height);

@override
bool shouldRebuild(SliverPersistentHeaderDelegate oldDelegate) {
Expand Down
73 changes: 39 additions & 34 deletions mrt_wallet/lib/future/wallet/start/pages/login_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,41 +44,46 @@ class _WalletLoginPageViewState extends State<WalletLoginPageView>

@override
Widget build(BuildContext context) {
return ConstraintsBoxView(
padding: WidgetConstant.padding20,
alignment: Alignment.center,
child: Form(
key: formKey,
child: SingleChildScrollView(
child: Column(
children: [
PageTitleSubtitle(
title: null, body: Text("wallet_login_desc".tr)),
const CircleAssetsImgaeView(APPConst.logo),
WidgetConstant.height20,
AppTextField(
obscureText: true,
onChanged: onChange,
label: "password".tr,
disableContextMenu: true,
error: _error,
validator: (v) {
if (StrUtils.isStrongPassword(v)) {
return null;
}
return "password_desc".tr;
},
return Scaffold(
resizeToAvoidBottomInset: true,
body: UnfocusableChild(
child: ConstraintsBoxView(
padding: WidgetConstant.padding20,
alignment: Alignment.center,
child: Form(
key: formKey,
child: SingleChildScrollView(
child: Column(
children: [
PageTitleSubtitle(
title: null, body: Text("wallet_login_desc".tr)),
const CircleAssetsImgaeView(APPConst.logo),
WidgetConstant.height20,
AppTextField(
obscureText: true,
onChanged: onChange,
label: "password".tr,
disableContextMenu: true,
error: _error,
validator: (v) {
if (StrUtils.isStrongPassword(v)) {
return null;
}
return "password_desc".tr;
},
),
StreamWidget(
padding: WidgetConstant.paddingVertical20,
buttonWidget: FixedElevatedButton(
onPressed: unlock,
child: Text("unlock".tr),
),
backToIdle: APPConst.oneSecoundDuration,
key: buttonKey,
),
],
),
StreamWidget(
padding: WidgetConstant.paddingVertical20,
buttonWidget: FixedElevatedButton(
onPressed: unlock,
child: Text("unlock".tr),
),
backToIdle: APPConst.oneSecoundDuration,
key: buttonKey,
),
],
),
),
),
),
Expand Down
22 changes: 6 additions & 16 deletions mrt_wallet/lib/future/wallet/start/pages/menu_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AccountMenuButtonView extends StatelessWidget {
account.accountName != null || account.type != null;
final bool showMultiSig = account.multiSigAccount && !hasAccountNameOrType;
return SizedBox(
height: 80,
height: 90,
child: Padding(
padding: WidgetConstant.paddingHorizontal10,
child: Row(
Expand Down Expand Up @@ -59,21 +59,11 @@ class AccountMenuButtonView extends StatelessWidget {
account.address.toAddress,
style: context.textTheme.bodyMedium,
),
Row(
children: [
CoinPriceView(
account: chain.account.address,
style: context.textTheme.titleLarge,
token: chain.network.coinParam.token,
enableMarketPrice: false,
),
WidgetConstant.width8,
Flexible(
child: CoinMarketPrice(
token: chain.network.coinParam.token,
balance: chain.account.address.address.balance),
)
],
CoinPriceView(
account: chain.account.address,
style: context.textTheme.titleMedium,
token: chain.network.coinParam.token,
enableMarketPrice: true,
),
],
),
Expand Down

0 comments on commit ae2afa9

Please sign in to comment.