new release

This commit is contained in:
Page Asgardius 2023-01-08 08:36:34 -07:00
parent 7566c924fd
commit aa95967473
3 changed files with 9 additions and 2 deletions

View file

@ -9,8 +9,8 @@ android {
applicationId "asgardius.page.s3manager"
minSdk 23
targetSdk 33
versionCode 64
versionName "0.7.3"
versionCode 65
versionName "0.7.4"
setProperty("archivesBaseName", "s3-manager-$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

@ -105,6 +105,9 @@ public class AccountAdd extends AppCompatActivity {
if (location.equals("")) {
location = "us-east-1";
}
if(endpoint.endsWith("/")) {
endpoint = endpoint.substring(0, endpoint.length()-1);
}
if (edit) {
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();
@ -152,6 +155,9 @@ public class AccountAdd extends AppCompatActivity {
} else {
region = Region.getRegion(location);
}
if(endpoint.endsWith("/")) {
endpoint = endpoint.substring(0, endpoint.length()-1);
}
S3ClientOptions s3ClientOptions = S3ClientOptions.builder().build();
s3ClientOptions.setPathStyleAccess(pathstyle.isChecked());
myCredentials = new BasicAWSCredentials(username, password);

View file

@ -0,0 +1 @@
* UI fixes