Skip to content

Commit 6727e8a

Browse files
author
Paolo Rotolo
committed
Merge pull request #200 from Glucosio/develop
Releasing Glucosio 0.9.4
2 parents da3546b + 4031350 commit 6727e8a

File tree

6 files changed

+6
-14
lines changed

6 files changed

+6
-14
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
defaultConfig {
1010
minSdkVersion 16
1111
targetSdkVersion 23
12-
versionCode 9
13-
versionName '0.9.3'
12+
versionCode 10
13+
versionName '0.9.4'
1414

1515
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1616
}

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
android:name=".activity.HelloActivity"
2828
android:label="@string/title_activity_hello"
2929
android:theme="@style/AppThemeNoActionBar" />
30-
<activity
31-
android:name=".activity.GittyActivity"
32-
android:theme="@style/GittyTheme" />
3330
<activity
3431
android:name=".activity.PreferencesActivity"
3532
android:theme="@style/GlucosioSettings" />

app/src/main/java/org/glucosio/android/GlucosioApplication.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,4 @@ public void onCreate() {
4646
Instabug.initialize(this, "b2226aa30fec24f6f4bed6ad68964e9b");
4747

4848
}
49-
50-
@Override
51-
protected void attachBaseContext(Context newBase) {
52-
super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
53-
}
5449
}

app/src/main/java/org/glucosio/android/fragment/HistoryFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void onItemLongClick(final View view, final int position) {
108108
public void onClick(DialogInterface dialog, int which) {
109109
// DELETE
110110
TextView idTextView = (TextView) view.findViewById(R.id.item_history_id);
111-
final int idToDelete = Integer.parseInt(idTextView.getText().toString());
111+
final long idToDelete = Long.parseLong(idTextView.getText().toString());
112112
final CardView item = (CardView) view.findViewById(R.id.item_history);
113113
item.animate().alpha(0.0f).setDuration(2000);
114114
Snackbar.make(((MainActivity) getActivity()).getFabView(), R.string.fragment_history_snackbar_text, Snackbar.LENGTH_SHORT).setCallback(new Snackbar.Callback() {

app/src/main/java/org/glucosio/android/presenter/HistoryPresenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public String convertDate(String date){
2424
return fragment.convertDate(date);
2525
}
2626

27-
public void onDeleteClicked(int idToDelete, int metricID){
27+
public void onDeleteClicked(long idToDelete, int metricID){
2828
switch (metricID) {
2929
// Glucose
3030
case 0:

wear/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
applicationId "org.glucosio.android"
1010
minSdkVersion 21
1111
targetSdkVersion 23
12-
versionCode 9
13-
versionName "0.9.3"
12+
versionCode 10
13+
versionName "0.9.4"
1414
}
1515
buildTypes {
1616
debug {

0 commit comments

Comments
 (0)