mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 19:16:09 +00:00
Remove unused nodes list page route
This commit is contained in:
parent
08edd4d8ff
commit
0188089bd8
4 changed files with 2 additions and 7 deletions
|
@ -489,8 +489,6 @@ Future setup(
|
||||||
_nodeSource, appStore.wallet!, appStore.settingsStore);
|
_nodeSource, appStore.wallet!, appStore.settingsStore);
|
||||||
});
|
});
|
||||||
|
|
||||||
getIt.registerFactory(() => NodeListPage(getIt.get<NodeListViewModel>()));
|
|
||||||
|
|
||||||
getIt.registerFactory(() => ConnectionSyncPage(getIt.get<NodeListViewModel>(), getIt.get<DashboardViewModel>()));
|
getIt.registerFactory(() => ConnectionSyncPage(getIt.get<NodeListViewModel>(), getIt.get<DashboardViewModel>()));
|
||||||
|
|
||||||
getIt.registerFactory(() => SecurityBackupPage(getIt.get<SecuritySettingsViewModel>()));
|
getIt.registerFactory(() => SecurityBackupPage(getIt.get<SecuritySettingsViewModel>()));
|
||||||
|
|
|
@ -278,10 +278,6 @@ Route<dynamic> createRoute(RouteSettings settings) {
|
||||||
param2: false),
|
param2: false),
|
||||||
onWillPop: () async => false));
|
onWillPop: () async => false));
|
||||||
|
|
||||||
case Routes.nodeList:
|
|
||||||
return CupertinoPageRoute<void>(
|
|
||||||
builder: (_) => getIt.get<NodeListPage>());
|
|
||||||
|
|
||||||
case Routes.connectionSync:
|
case Routes.connectionSync:
|
||||||
return CupertinoPageRoute<void>(
|
return CupertinoPageRoute<void>(
|
||||||
builder: (_) => getIt.get<ConnectionSyncPage>());
|
builder: (_) => getIt.get<ConnectionSyncPage>());
|
||||||
|
|
|
@ -21,7 +21,6 @@ class Routes {
|
||||||
static const seedLanguage = '/seed_language';
|
static const seedLanguage = '/seed_language';
|
||||||
static const walletList = '/view_model.wallet_list';
|
static const walletList = '/view_model.wallet_list';
|
||||||
static const auth = '/auth';
|
static const auth = '/auth';
|
||||||
static const nodeList = '/node_list';
|
|
||||||
static const newNode = '/new_node_list';
|
static const newNode = '/new_node_list';
|
||||||
static const login = '/login';
|
static const login = '/login';
|
||||||
static const splash = '/splash';
|
static const splash = '/splash';
|
||||||
|
|
|
@ -23,6 +23,8 @@ class NodeListPage extends BasePage {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget trailing(context) {
|
Widget trailing(context) {
|
||||||
|
// TODO: check if this will be used in the new design and then delete the whole page
|
||||||
|
// as it's not used anymore
|
||||||
return Container(
|
return Container(
|
||||||
height: 32,
|
height: 32,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
|
|
Loading…
Reference in a new issue