Remove unused assets and code

This commit is contained in:
pokkst 2023-07-09 16:53:14 -05:00
parent 3023a845f1
commit f38b161c2e
No known key found for this signature in database
GPG Key ID: 90C2ED85E67A50FF
8 changed files with 11 additions and 44 deletions

View File

@ -137,20 +137,15 @@ dependencies {
implementation 'com.google.android.material:material:1.8.0' implementation 'com.google.android.material:material:1.8.0'
implementation 'com.ncorti:slidetoact:0.9.0' implementation 'com.ncorti:slidetoact:0.9.0'
implementation 'com.journeyapps:zxing-android-embedded:4.3.0' implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
implementation "com.squareup.okhttp3:okhttp:4.10.0"
implementation "io.github.rburgst:okhttp-digest:2.6"
implementation "com.jakewharton.timber:timber:5.0.1" implementation "com.jakewharton.timber:timber:5.0.1"
implementation fileTree(dir: 'libs/classes', include: ['*.jar']) implementation fileTree(dir: 'libs/classes', include: ['*.jar'])
implementation 'com.nulab-inc:zxcvbn:1.5.2'
implementation 'org.slf4j:slf4j-nop:1.7.36' implementation 'org.slf4j:slf4j-nop:1.7.36'
implementation 'com.github.brnunes:swipeablerecyclerview:1.0.2'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
implementation 'androidx.navigation:navigation-fragment:2.5.3' implementation 'androidx.navigation:navigation-fragment:2.5.3'
implementation 'androidx.navigation:navigation-ui:2.5.3' implementation 'androidx.navigation:navigation-ui:2.5.3'
implementation 'androidx.leanback:leanback:1.0.0'
//noinspection GradleDependency //noinspection GradleDependency
testImplementation "junit:junit:4.13.2" testImplementation "junit:junit:4.13.2"

View File

@ -1,19 +0,0 @@
package net.mynero.wallet.util;
import net.mynero.wallet.model.NetworkType;
import net.mynero.wallet.model.WalletManager;
import okhttp3.HttpUrl;
public class ServiceHelper {
public static String ASSET = null;
static public HttpUrl getXmrToBaseUrl() {
if ((WalletManager.getInstance() == null)
|| (WalletManager.getInstance().getNetworkType() != NetworkType.NetworkType_Mainnet)) {
throw new IllegalStateException("Only mainnet not supported");
} else {
return HttpUrl.parse("https://sideshift.ai/api/v1/");
}
}
}

View File

@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="?colorOnSurface"
android:pathData="M10,6L8.59,7.41 13.17,12l-4.58,4.59L10,18l6,-6z" />
</vector>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32dp"
android:height="32dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#ffffff"
android:pathData="M17.65,6.35C16.2,4.9 14.21,4 12,4c-4.42,0 -7.99,3.58 -7.99,8s3.57,8 7.99,8c3.73,0 6.84,-2.55 7.73,-6h-2.08c-0.82,2.33 -3.04,4 -5.65,4 -3.31,0 -6,-2.69 -6,-6s2.69,-6 6,-6c1.66,0 3.14,0.69 4.22,1.78L13,11h7V4l-2.35,2.35z"/>
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -25,7 +25,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@android:color/transparent" android:background="@android:color/transparent"
android:src="@drawable/lb_ic_replay" android:src="@drawable/ic_refresh"
android:minWidth="48dp" android:minWidth="48dp"
android:minHeight="48dp" android:minHeight="48dp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"

View File

@ -14,8 +14,6 @@
<!--note: as in "Test a network connection"--> <!--note: as in "Test a network connection"-->
<string name="tx_details_notes" translatable="false">&lt;span style=\"background-color: #%1$s; color: #%2$s;\"&gt;&nbsp;%3$s&nbsp;&lt;/span&gt;%4$s</string>
<string name="menu_restore">Import wallet</string> <string name="menu_restore">Import wallet</string>
<string name="preferred_theme" translatable="false">preferred_theme</string> <string name="preferred_theme" translatable="false">preferred_theme</string>
@ -34,7 +32,6 @@
<string name="invalid_mnemonic_code">Invalid mnemonic</string> <string name="invalid_mnemonic_code">Invalid mnemonic</string>
<string name="invalid_confirmed_password">Passwords do not match</string> <string name="invalid_confirmed_password">Passwords do not match</string>
<string name="copied_to_clipboard">Copied to clipboard</string> <string name="copied_to_clipboard">Copied to clipboard</string>
<string name="night_mode">Night mode</string>
<string name="street_mode">Street mode (hide balances)</string> <string name="street_mode">Street mode (hide balances)</string>
<string name="option_hide_xmrchan">Show Monerochan</string> <string name="option_hide_xmrchan">Show Monerochan</string>
<string name="option_donate_per_tx">Add occasional donation</string> <string name="option_donate_per_tx">Add occasional donation</string>
@ -105,7 +102,6 @@
<string name="create_wallet_failed">Create wallet failed: %1$s</string> <string name="create_wallet_failed">Create wallet failed: %1$s</string>
<string name="churn">Churn</string> <string name="churn">Churn</string>
<string name="wallet_keys_label">Wallet Keys</string> <string name="wallet_keys_label">Wallet Keys</string>
<string name="max_subaddresses_warning">Max subaddresses. Please receive funds first.</string>
<string name="done">Done</string> <string name="done">Done</string>
<string name="delete">Delete</string> <string name="delete">Delete</string>
<string name="cant_edit_current_node">Cannot edit current node.</string> <string name="cant_edit_current_node">Cannot edit current node.</string>

View File

@ -87,12 +87,6 @@
<item name="android:textStyle">normal</item> <item name="android:textStyle">normal</item>
</style> </style>
<style name="MoneroText.PosNote">
<item name="android:textSize">12sp</item>
<!--item name="android:textColor">#FF4A4A4A</item-->
<item name="android:textStyle">italic</item>
</style>
<style name="MoneroText.PosDate"> <style name="MoneroText.PosDate">
<item name="android:textSize">10sp</item> <item name="android:textSize">10sp</item>
<!--item name="android:textColor">#FF616161</item--> <!--item name="android:textColor">#FF616161</item-->