new release

This commit is contained in:
Page Asgardius 2022-12-23 13:27:18 -07:00
parent cb50a01854
commit 5e7297ebb1
9 changed files with 29 additions and 8 deletions

View file

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

View file

@ -227,17 +227,27 @@ public class MainActivity extends AppCompatActivity {
password = cursor.getString(2);
location = cursor.getString(3);
pdfendpoint = cursor.getString(4);
if (cursor.getString(5).equals("1")) {
style = true;
} else {
try {
style = cursor.getString(5).equals("1");
} catch (Exception e) {
e.printStackTrace();
style = false;
}
db.close();
//This launch file explorer using selected account
explorer();
}
} catch (Exception e) {
e.printStackTrace();
try {
db = dbHelper.getWritableDatabase();
db.execSQL("alter table account add column style text");
db.close();
} catch (Exception f) {
Toast.makeText(getApplicationContext(),getResources().getString(R.string.broken_database), Toast.LENGTH_SHORT).show();
finish();
}
}
}
@ -270,9 +280,10 @@ public class MainActivity extends AppCompatActivity {
password = cursor.getString(3);
location = cursor.getString(4);
pdfendpoint = cursor.getString(5);
if (cursor.getString(6).equals("1")) {
style = true;
} else {
try {
style = cursor.getString(6).equals("1");
} catch (Exception e) {
e.printStackTrace();
style = false;
}
}
@ -282,6 +293,14 @@ public class MainActivity extends AppCompatActivity {
//Toast.makeText(MainActivity.this, "This feature is not yet implemented", Toast.LENGTH_SHORT).show();
} catch (Exception e) {
e.printStackTrace();
try {
db = dbHelper.getWritableDatabase();
db.execSQL("alter table account add column style text");
db.close();
} catch (Exception f) {
Toast.makeText(getApplicationContext(),getResources().getString(R.string.broken_database), Toast.LENGTH_SHORT).show();
finish();
}
}
}
else if (menuItem.getTitle() == getResources().getString(R.string.accountdel_button)) {

View file

@ -0,0 +1,2 @@
* Account edit screen redesign
* Add option to choose between virtual host style and path style for buckets (virtual host will be used by default)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 KiB

After

Width:  |  Height:  |  Size: 458 KiB