Skip to content

Commit

Permalink
Remove planetary network from the app
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedHanafy725 committed Nov 23, 2023
1 parent 037e07f commit 0fd285e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 262 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ If you own a Threefold node, you can manage your farm here.

If you have Threefold related questions, we provide a support chat where we will answer your questions as soon as possible!

### Planetary network

It is possible to have a a planetary network IPv6 address. Here you can enable the planetary network connection and your phone will automatically be connected to the p2p network.

### Identity

Expand Down
3 changes: 0 additions & 3 deletions app/lib/events/go_planetary_event.dart

This file was deleted.

9 changes: 0 additions & 9 deletions app/lib/jrouter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:threebotlogin/app.dart';
import 'package:threebotlogin/apps/chatbot/chatbot.dart';
import 'package:threebotlogin/apps/wallet/wallet.dart';
import 'package:threebotlogin/screens/identity_verification_screen.dart';
import 'package:threebotlogin/screens/planetary_network_screen.dart';
import 'package:threebotlogin/screens/preference_screen.dart';
import 'package:threebotlogin/screens/registered_screen.dart';

Expand Down Expand Up @@ -70,14 +69,6 @@ class JRouter {
// view: ReservationScreen(),
// ),
// app: null),
AppInfo(
route: Route(
path: '/planetary',
name: 'Planetary Network',
icon: Icons.network_check,
view: PlanetaryNetworkScreen(),
),
app: null),
AppInfo(
route: Route(
path: '/settings',
Expand Down
222 changes: 0 additions & 222 deletions app/lib/screens/planetary_network_screen.dart

This file was deleted.

2 changes: 0 additions & 2 deletions app/lib/screens/preference_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:package_info_plus/package_info_plus.dart';
import 'package:threebotlogin/app_config.dart';
import 'package:threebotlogin/apps/free_flow_pages/ffp_events.dart';
import 'package:threebotlogin/events/close_socket_event.dart';
import 'package:threebotlogin/events/close_vpn_event.dart';
import 'package:threebotlogin/events/events.dart';
import 'package:threebotlogin/helpers/environment.dart';
import 'package:threebotlogin/helpers/globals.dart';
Expand Down Expand Up @@ -259,7 +258,6 @@ class _PreferenceScreenState extends State<PreferenceScreen> {
// } catch (e) {}
Events().emit(CloseSocketEvent());
Events().emit(FfpClearCacheEvent());
Events().emit(CloseVpnEvent());
bool result = await clearData();
if (result) {
Navigator.pop(context);
Expand Down
18 changes: 0 additions & 18 deletions app/lib/widgets/layout_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,24 +148,6 @@ class _LayoutDrawerState extends State<LayoutDrawer> {
// globals.tabController.animateTo(4);
// },
// ),
if (Globals().isYggdrasilEnabled)
ListTile(
minLeadingWidth: 10,
leading: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Padding(padding: const EdgeInsets.only(left: 30)),
Icon(Icons.network_check, color: Colors.black, size: 18)
],
),
title: Text('Planetary Network'),
onTap: () {
Navigator.pop(context);
globals.tabController.animateTo(5);
},
)
else
Container(),
ListTile(
minLeadingWidth: 10,
leading: Column(
Expand Down
5 changes: 0 additions & 5 deletions app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ dependencies:
flutter:
sdk: flutter

yggdrasil_plugin:
git:
url: https://github.com/threefoldtech/planetary_network_flutter
ref: main

flutter_pkid:
git:
url: https://github.com/threefoldtech/threefold_connect_flutter_pkid_client
Expand Down

0 comments on commit 0fd285e

Please sign in to comment.