Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrajina committed Mar 14, 2017
2 parents a5fd016 + c0d4a0d commit b7e85b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import android.content.DialogInterface;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.media.AudioManager;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
Expand Down Expand Up @@ -155,6 +156,7 @@ public void onClick(View view) {
});

adjustFontSize();
setVolumeControlStream(AudioManager.STREAM_MUSIC);
}

private void setupAnswerButtons() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public int getStreakDays(int maxDays) {
long startFrom = c.getTimeInMillis();
// Do not start from 0 here because the current date can still change:
for (int i = 0; i < maxDays; i++) {
long from = startFrom - TimeUnit.DAYS.toMillis(i + 2);
long from = startFrom - TimeUnit.DAYS.toMillis(i + 1);
long to = from + TimeUnit.DAYS.toMillis(1);
int count = new Select()
.from(SentenceHistory.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<com.joanzapata.iconify.widget.IconTextView
android:id="@+id/target_sentence"
android:textColor="@color/colorPrimaryDark"
android:textIsSelectable="true"
android:shadowDx="3"
android:shadowDy="3"
android:shadowRadius="1"
Expand Down

0 comments on commit b7e85b1

Please sign in to comment.