1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-22 04:12:08 +01:00

Update travis

This commit is contained in:
Gregor Santner 2016-12-22 13:23:20 +01:00
parent 165626fc6c
commit 9ecaf6900a
No known key found for this signature in database
GPG key ID: 2AEB822A5CF48C9F
3 changed files with 7 additions and 5 deletions

View file

@ -17,7 +17,7 @@ cache:
- $HOME/.gradle/wrapper/ - $HOME/.gradle/wrapper/
script: "./gradlew $TASK" script: "./gradlew $TASK"
env: env:
- TASK="lintDebug" - TASK="lintFlavorDandelionDebug"
- TASK="build check --stacktrace" - TASK="build check --stacktrace"
branches: branches:

View file

@ -9,8 +9,8 @@ android {
applicationId "com.github.dfa.diaspora_android" applicationId "com.github.dfa.diaspora_android"
minSdkVersion 17 minSdkVersion 17
targetSdkVersion 24 targetSdkVersion 24
versionCode 12 versionCode 13
versionName "0.2.2" versionName "0.2.2-next"
setProperty("archivesBaseName", "dandelion__${versionName}__") setProperty("archivesBaseName", "dandelion__${versionName}__")
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true

View file

@ -243,7 +243,9 @@ public class MainActivity extends ThemedActivity
moveTaskToBack(true); moveTaskToBack(true);
} }
}); });
snackbarLastVisitedTimestampInStream = Snackbar.make(fragmentContainer, R.string.jump_to_last_visited_timestamp_in_stream, Snackbar.LENGTH_SHORT) snackbarLastVisitedTimestampInStream =
Snackbar.make(fragmentContainer,
R.string.jump_to_last_visited_timestamp_in_stream, Snackbar.LENGTH_LONG)
.setAction(android.R.string.yes, new View.OnClickListener() { .setAction(android.R.string.yes, new View.OnClickListener() {
public void onClick(View view) { public void onClick(View view) {
openDiasporaUrl(urls.getStreamWithTimestampUrl(diasporaUserProfile.getLastVisitedPositionInStream())); openDiasporaUrl(urls.getStreamWithTimestampUrl(diasporaUserProfile.getLastVisitedPositionInStream()));
@ -1165,4 +1167,4 @@ public class MainActivity extends ThemedActivity
params.setScrollFlags(0); // clear all scroll flags params.setScrollFlags(0); // clear all scroll flags
appBarLayout.setExpanded(true, true); appBarLayout.setExpanded(true, true);
} }
} }