new release
|
@ -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"
|
||||
|
|
|
@ -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)) {
|
||||
|
|
2
fastlane/metadata/android/en-US/changelogs/46.txt
Normal 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)
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1 MiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 312 KiB After Width: | Height: | Size: 317 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 548 KiB After Width: | Height: | Size: 458 KiB |