new release
This commit is contained in:
parent
7566c924fd
commit
aa95967473
3 changed files with 9 additions and 2 deletions
|
@ -9,8 +9,8 @@ android {
|
||||||
applicationId "asgardius.page.s3manager"
|
applicationId "asgardius.page.s3manager"
|
||||||
minSdk 23
|
minSdk 23
|
||||||
targetSdk 33
|
targetSdk 33
|
||||||
versionCode 64
|
versionCode 65
|
||||||
versionName "0.7.3"
|
versionName "0.7.4"
|
||||||
setProperty("archivesBaseName", "s3-manager-$versionName")
|
setProperty("archivesBaseName", "s3-manager-$versionName")
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
|
@ -105,6 +105,9 @@ public class AccountAdd extends AppCompatActivity {
|
||||||
if (location.equals("")) {
|
if (location.equals("")) {
|
||||||
location = "us-east-1";
|
location = "us-east-1";
|
||||||
}
|
}
|
||||||
|
if(endpoint.endsWith("/")) {
|
||||||
|
endpoint = endpoint.substring(0, endpoint.length()-1);
|
||||||
|
}
|
||||||
if (edit) {
|
if (edit) {
|
||||||
db.execSQL("UPDATE account SET id=\""+alias+"\", endpoint=\""+endpoint+"\", username=\""+username+"\", password=\""+password+"\", region=\""+location+"\", pdfendpoint=\""+pdfendpoint+"\", style=\""+style+"\" WHERE id=\""+id+"\"");
|
db.execSQL("UPDATE account SET id=\""+alias+"\", endpoint=\""+endpoint+"\", username=\""+username+"\", password=\""+password+"\", region=\""+location+"\", pdfendpoint=\""+pdfendpoint+"\", style=\""+style+"\" WHERE id=\""+id+"\"");
|
||||||
Toast.makeText(getApplicationContext(),getResources().getString(R.string.accountsave_success), Toast.LENGTH_SHORT).show();
|
Toast.makeText(getApplicationContext(),getResources().getString(R.string.accountsave_success), Toast.LENGTH_SHORT).show();
|
||||||
|
@ -152,6 +155,9 @@ public class AccountAdd extends AppCompatActivity {
|
||||||
} else {
|
} else {
|
||||||
region = Region.getRegion(location);
|
region = Region.getRegion(location);
|
||||||
}
|
}
|
||||||
|
if(endpoint.endsWith("/")) {
|
||||||
|
endpoint = endpoint.substring(0, endpoint.length()-1);
|
||||||
|
}
|
||||||
S3ClientOptions s3ClientOptions = S3ClientOptions.builder().build();
|
S3ClientOptions s3ClientOptions = S3ClientOptions.builder().build();
|
||||||
s3ClientOptions.setPathStyleAccess(pathstyle.isChecked());
|
s3ClientOptions.setPathStyleAccess(pathstyle.isChecked());
|
||||||
myCredentials = new BasicAWSCredentials(username, password);
|
myCredentials = new BasicAWSCredentials(username, password);
|
||||||
|
|
1
fastlane/metadata/android/en-US/changelogs/65.txt
Normal file
1
fastlane/metadata/android/en-US/changelogs/65.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
* UI fixes
|
Loading…
Reference in a new issue