Commit 26670ffd authored by cfabio's avatar cfabio

* Fix a bug that was causing balance from being wrong when altcoin price is set in Bitcoin

parent 155298a5
......@@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
buildToolsVersion '28.0.0'
defaultConfig {
applicationId "eu.uwot.fabio.altcoinprices"
minSdkVersion 14
targetSdkVersion 27
versionCode 66
versionName '1.6.10'
versionCode 67
versionName '1.6.11'
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
......@@ -46,6 +46,6 @@ dependencies {
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
}
......@@ -783,6 +783,9 @@ class Coin {
case "CHF":
change = btcchf;
break;
case "BTC":
change = 1f;
break;
}
return change;
......
......@@ -173,12 +173,7 @@ class CoinLogo {
public boolean coinLogoExists(String altcoinSymbol) {
File directory = context.getFilesDir();
File file = new File(directory, "logo_" + altcoinSymbol);
if(file.exists()) {
return true;
}
else {
return false;
}
return file.exists();
}
public void removeCachedLogos() {
......
# CHANGELOG
### Version 1.6.11
* Fix a bug that was causing balance from being wrong when altcoin price is set in Bitcoin
### Version 1.6.10
* Bump version code for F-Droid
......
......@@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.android.tools.build:gradle:3.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment