Skip to content

Commit

Permalink
fix: remove assets and tokens tabs from tari console wallet (see issue
Browse files Browse the repository at this point in the history
…#4543) (#4556)

Description
--- 
Removing assets and tokens tabs from the tari console wallet display.

Motivation and Context
--- 
These are currently not intended for mainnet, so we might as well remove them for auditing.

How Has This Been Tested?
---
Start a console wallet and visually checking the omission of the given tabs.
  • Loading branch information
jorgeantonio21 authored Aug 29, 2022
1 parent 3958dde commit 11af787
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 151 deletions.
4 changes: 0 additions & 4 deletions applications/tari_console_wallet/src/ui/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use crate::{
notifier::Notifier,
ui::{
components::{
assets_tab::AssetsTab,
base_node::BaseNode,
contacts_tab::ContactsTab,
events_component::EventsComponent,
Expand All @@ -45,7 +44,6 @@ use crate::{
receive_tab::ReceiveTab,
send_tab::SendTab,
tabs_container::TabsContainer,
tokens_component::TokensComponent,
transactions_tab::TransactionsTab,
Component,
},
Expand Down Expand Up @@ -94,8 +92,6 @@ impl<B: Backend> App<B> {
.add("Receive".into(), Box::new(ReceiveTab::new()))
.add("Contacts".into(), Box::new(ContactsTab::new()))
.add("Network".into(), Box::new(NetworkTab::new(base_node_selected)))
.add("Assets".into(), Box::new(AssetsTab::new()))
.add("Tokens".into(), Box::new(TokensComponent::new()))
.add("Events".into(), Box::new(EventsComponent::new()))
.add("Log".into(), Box::new(LogTab::new()))
.add("Notifications".into(), Box::new(NotificationTab::new()));
Expand Down
77 changes: 0 additions & 77 deletions applications/tari_console_wallet/src/ui/components/assets_tab.rs

This file was deleted.

2 changes: 0 additions & 2 deletions applications/tari_console_wallet/src/ui/components/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

pub mod assets_tab;
pub mod balance;
pub mod base_node;
mod component;
Expand All @@ -32,7 +31,6 @@ pub mod receive_tab;
pub mod send_tab;
mod styles;
pub mod tabs_container;
pub mod tokens_component;
pub mod transactions_tab;
pub use self::component::*;
pub mod contacts_tab;
Expand Down

This file was deleted.

0 comments on commit 11af787

Please sign in to comment.