File tree 4 files changed +11
-4
lines changed
java/ca/pkay/rcloneexplorer
4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ android {
6
6
applicationId " ca.pkay.rcloneexplorer"
7
7
minSdkVersion 21
8
8
targetSdkVersion 27
9
- versionCode 10
10
- versionName " 1.2.1 "
9
+ versionCode 11
10
+ versionName " 1.2.2 "
11
11
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
12
12
}
13
13
buildTypes {
Original file line number Diff line number Diff line change 1
1
### 1.2.2
2
- * ** Update:** rclone binary
2
+ * ** Update:** Rclone to version 1.41
3
3
* ** New:** App shortcuts
4
+ * ** Fix:** Color picker not working on sdk 21
5
+ * ** Fix:** Rclone not getting updated
4
6
5
7
***
6
8
Original file line number Diff line number Diff line change @@ -109,8 +109,13 @@ public void onClick(View v) {
109
109
int lastVersionCode = sharedPreferences .getInt (getString (R .string .pref_key_version_code ), -1 );
110
110
int currentVersionCode = BuildConfig .VERSION_CODE ;
111
111
112
- if (!rclone .isRcloneBinaryCreated () || lastVersionCode != currentVersionCode ) {
112
+ if (!rclone .isRcloneBinaryCreated ()) {
113
113
new CreateRcloneBinary ().execute ();
114
+ } else if (lastVersionCode < currentVersionCode ) {
115
+ new CreateRcloneBinary ().execute ();
116
+ SharedPreferences .Editor editor = sharedPreferences .edit ();
117
+ editor .putInt (getString (R .string .pref_key_version_code ), currentVersionCode );
118
+ editor .apply ();
114
119
} else if (rclone .isConfigEncrypted ()) {
115
120
askForConfigPassword ();
116
121
} else if (bundle != null && bundle .containsKey (APP_SHORTCUT_REMOTE_NAME ) && bundle .containsKey (APP_SHORTCUT_REMOTE_TYPE )) {
You can’t perform that action at this time.
0 commit comments