Skip to content

Commit ca9edc2

Browse files
committed
Revert "Merge pull request #6 from 0xjojo1/codex/add-lightweight-database-for-address-book-v7lvpa"
This reverts commit 95f03ad, reversing changes made to 1e66d3f.
1 parent 95f03ad commit ca9edc2

File tree

4 files changed

+0
-139
lines changed

4 files changed

+0
-139
lines changed

services/address-book.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

src-tauri/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ anyhow = "1.0"
4343
tracing = "0.1"
4444
tracing-subscriber = "0.3"
4545
futures = "0.3"
46-
sqlx = { version = "0.7", features = ["sqlite", "runtime-tokio-rustls", "macros"] }

src-tauri/src/address_book.rs

Lines changed: 0 additions & 109 deletions
This file was deleted.

src-tauri/src/lib.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
mod commands;
22
mod ledger;
3-
mod address_book;
4-
5-
use tauri::Manager;
63

74
#[cfg_attr(mobile, tauri::mobile_entry_point)]
85
pub fn run() {
@@ -11,11 +8,6 @@ pub fn run() {
118

129
tauri::Builder::default()
1310
.plugin(tauri_plugin_opener::init())
14-
.setup(|app| {
15-
let handle = app.handle();
16-
tauri::async_runtime::block_on(address_book::init_db(&handle))?;
17-
Ok(())
18-
})
1911
.invoke_handler(tauri::generate_handler![
2012
commands::ledger_list_devices,
2113
commands::ledger_open_device,
@@ -28,9 +20,6 @@ pub fn run() {
2820
commands::ledger_eth_sign_message,
2921
commands::ledger_eth_sign_transaction,
3022
commands::ledger_eth_sign_typed_data,
31-
address_book::save_address_alias,
32-
address_book::get_address_alias,
33-
address_book::list_address_aliases,
3423
])
3524
.run(tauri::generate_context!())
3625
.expect("error while running tauri application");

0 commit comments

Comments
 (0)