Skip to content

Commit

Permalink
Modify the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuanfeng@shipindiy.com committed Jun 10, 2017
1 parent f0d72d2 commit 9c880cb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdkVersion 17
targetSdkVersion 25
versionCode 1
versionName "0.5"
versionName "0.7"
}
buildTypes {
release {
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="moose.com.ac">
android:versionCode="2"
android:versionName="0.6"
android:versionCode="7"
android:versionName="0.7"
android:installLocation="auto"
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission
Expand Down Expand Up @@ -40,7 +40,7 @@
android:name=".BigNewsActivity"
android:exported="false"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:launchMode="singleInstance"
android:launchMode="standard"
android:taskAffinity=""
android:screenOrientation="portrait" />
<activity
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/moose/com/ac/ArticleViewActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ protected void onInitView(Bundle savedInstanceState) {
ab.setDisplayHomeAsUpEnabled(true);
}
contend = "ac" + articleId;
getSupportActionBar().setSubtitle(contend);
getSupportActionBar().setTitle(contend);

fab = (FloatingActionButton) findViewById(R.id.view_fab);
fab.setOnClickListener(v -> {
Expand Down Expand Up @@ -331,7 +331,7 @@ public void onNext(ArticleBodyWrapper articleBody) {
} else {
HtmlBody = articleBody.data.article.content;
title = articleBody.data.title;
getSupportActionBar().setTitle(articleBody.data.title);
getSupportActionBar().setSubtitle(articleBody.data.title);
user = articleBody.data.owner.name;

//fix this issues https://github.com/Harlber/Moose/issues/8
Expand Down
2 changes: 1 addition & 1 deletion app/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"0.6","progress":"build"}
{"version":"0.7","progress":"build"}

0 comments on commit 9c880cb

Please sign in to comment.