Skip to content

Commit

Permalink
GibQuote v2.7.1 | Updater Phix (Yet Again)
Browse files Browse the repository at this point in the history
Signed-off-by: a7r3 <arvindultimate7352@gmail.com>
  • Loading branch information
a7r3 committed Jan 13, 2018
1 parent c628191 commit aa90e85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 16
targetSdkVersion 27
versionCode 2
versionName '2.7.0'
versionName '2.7.1'
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/java/com/arvind/quote/utils/Updater.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ public void onResponse(JSONArray response) {
// Contains multiple Volley Requests which are to be executed
// ... only if this request is successful.
obtainTagMessages(currentVersionPosition, response);
// updates are available!
isUpdateAvailable = true;
// Fire up the dialog
createAlertDialog();
}
Expand Down Expand Up @@ -290,6 +292,7 @@ public void onErrorResponse(VolleyError error) {
* @param changeLog The ChangeLog string which would be shown to the user
*/
private void setUpdateMessage(String[] changeLog) {
Log.d(TAG, "Showing Update Message");
progressBar.setIndeterminate(false);
progressLayout.setVisibility(View.GONE);
updateMessage.setVisibility(View.VISIBLE);
Expand Down

0 comments on commit aa90e85

Please sign in to comment.