From e4b4998bc08158aba9b0e62923f2d322ddd3c33b Mon Sep 17 00:00:00 2001 From: HuanChengFly <609486518@qq.com> Date: Wed, 15 Apr 2020 23:11:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E5=85=8D=E8=B4=A3?= =?UTF-8?q?=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +- SwipeBackLib/build.gradle | 2 +- app/build.gradle | 6 +- .../huanchengfly/tieba/post/MainActivity.java | 17 ++-- .../tieba/post/activities/AboutActivity.java | 59 +----------- .../tieba/post/fragments/WebViewFragment.java | 1 + .../post/fragments/intro/ExploreFragment.java | 6 -- app/src/main/res/anim/in_right_to_left.xml | 8 -- app/src/main/res/anim/out_left_to_right.xml | 8 -- app/src/main/res/drawable/ic_alipay.xml | 4 - app/src/main/res/drawable/ic_archive.xml | 4 - app/src/main/res/drawable/ic_block.xml | 9 -- .../ic_outline_account_circle_white.xml | 10 -- app/src/main/res/drawable/ic_qq.xml | 4 - .../res/drawable/ic_round_access_time.xml | 9 -- .../ic_round_account_circle_white.xml | 11 --- .../res/drawable/ic_round_attach_money.xml | 9 -- .../main/res/drawable/ic_round_local_mall.xml | 9 -- .../res/drawable/ic_round_monetization_on.xml | 9 -- app/src/main/res/drawable/ic_round_share.xml | 9 -- .../main/res/drawable/ic_round_touch_app.xml | 9 -- app/src/main/res/drawable/ic_wechat.xml | 4 - app/src/main/res/drawable/tint_button.xml | 5 - .../layout/layout_footer_empty_loading.xml | 10 -- .../res/layout/layout_fragment_explore.xml | 94 ------------------- app/src/main/res/values-night/booleans.xml | 4 +- app/src/main/res/values/booleans.xml | 4 +- app/src/main/res/values/strings.xml | 34 +------ application.properties | 4 +- build.gradle | 2 +- 30 files changed, 28 insertions(+), 340 deletions(-) delete mode 100644 app/src/main/res/anim/in_right_to_left.xml delete mode 100644 app/src/main/res/anim/out_left_to_right.xml delete mode 100644 app/src/main/res/drawable/ic_alipay.xml delete mode 100644 app/src/main/res/drawable/ic_archive.xml delete mode 100644 app/src/main/res/drawable/ic_block.xml delete mode 100644 app/src/main/res/drawable/ic_outline_account_circle_white.xml delete mode 100644 app/src/main/res/drawable/ic_qq.xml delete mode 100644 app/src/main/res/drawable/ic_round_access_time.xml delete mode 100644 app/src/main/res/drawable/ic_round_account_circle_white.xml delete mode 100644 app/src/main/res/drawable/ic_round_attach_money.xml delete mode 100644 app/src/main/res/drawable/ic_round_local_mall.xml delete mode 100644 app/src/main/res/drawable/ic_round_monetization_on.xml delete mode 100644 app/src/main/res/drawable/ic_round_share.xml delete mode 100644 app/src/main/res/drawable/ic_round_touch_app.xml delete mode 100644 app/src/main/res/drawable/ic_wechat.xml delete mode 100644 app/src/main/res/drawable/tint_button.xml delete mode 100644 app/src/main/res/layout/layout_footer_empty_loading.xml diff --git a/README.md b/README.md index 469428d8..b9df8801 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ ## Tieba Lite -[![CircleCI](https://circleci.com/gh/HuanCheng65/TiebaLite.svg?style=svg)](https://circleci.com/gh/HuanCheng65/TiebaLite) \ No newline at end of file +[![CircleCI](https://circleci.com/gh/HuanCheng65/TiebaLite.svg?style=svg)](https://circleci.com/gh/HuanCheng65/TiebaLite) +![Status](https://img.shields.io/badge/%E7%8A%B6%E6%80%81-%E5%B7%B2%E5%81%9C%E6%9B%B4-red?style=flat-square&labelColor=red&color=red) +这里是贴吧 Lite 的开源仓库。 \ No newline at end of file diff --git a/SwipeBackLib/build.gradle b/SwipeBackLib/build.gradle index 7568f349..9f9e3433 100644 --- a/SwipeBackLib/build.gradle +++ b/SwipeBackLib/build.gradle @@ -12,7 +12,7 @@ android { } } dependencies { - implementation 'androidx.appcompat:appcompat:1.0.0' + implementation 'androidx.appcompat:appcompat:1.1.0' } task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs diff --git a/app/build.gradle b/app/build.gradle index 71568f70..d060fef3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -81,7 +81,7 @@ android { release { minifyEnabled true shrinkResources true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' debuggable false jniDebuggable false signingConfig signingConfigs.release @@ -119,7 +119,7 @@ dependencies { implementation 'androidx.viewpager2:viewpager2:1.0.0' //Test - testImplementation 'junit:junit:4.12' + testImplementation 'junit:junit:4.13' androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' @@ -130,7 +130,7 @@ dependencies { implementation 'com.google.android.material:material:1.2.0-alpha05' - implementation 'com.squareup.okhttp3:okhttp:4.4.1' + implementation 'com.squareup.okhttp3:okhttp:4.5.0' implementation 'com.squareup.retrofit2:retrofit:2.8.1' implementation 'com.squareup.retrofit2:converter-gson:2.8.1' implementation 'com.tsy:myokhttp:1.1.4' diff --git a/app/src/main/java/com/huanchengfly/tieba/post/MainActivity.java b/app/src/main/java/com/huanchengfly/tieba/post/MainActivity.java index 5b77acfd..1f098796 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/MainActivity.java +++ b/app/src/main/java/com/huanchengfly/tieba/post/MainActivity.java @@ -7,6 +7,7 @@ import android.app.job.JobScheduler; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; +import android.content.DialogInterface; import android.content.Intent; import android.graphics.Typeface; import android.os.Bundle; @@ -275,6 +276,14 @@ public class MainActivity extends BaseActivity implements BottomNavigationView.O findView(); initView(); initListener(); + if (!SharedPreferencesUtil.get(SharedPreferencesUtil.SP_APP_DATA).getBoolean("notice_dialog", false)) { + showDialog(DialogUtil.build(this) + .setTitle(R.string.title_dialog_notice) + .setMessage(R.string.message_dialog_notice) + .setPositiveButton(R.string.button_sure_default, (dialog, which) -> SharedPreferencesUtil.put(this, SharedPreferencesUtil.SP_APP_DATA, "notice_dialog", true)) + .setCancelable(false) + .create()); + } if (savedInstanceState == null) { clearSwitchReason(); } @@ -394,14 +403,6 @@ public class MainActivity extends BaseActivity implements BottomNavigationView.O .setTitle(R.string.title_dialog_changelog) .setMessage(data.getResult()) .setPositiveButton(R.string.button_ok, null) - .setNegativeButton(R.string.title_join_group, (dialog, which) -> { - FlurryAgent.logEvent("clickedJoinQQGroupInChangelog"); - startActivity(new Intent(MainActivity.this, AboutActivity.class).putExtra(AboutActivity.EXTRA_ACTION, AboutActivity.EXTRA_ACTION_JOIN_GROUP)); - }) - .setNeutralButton(R.string.button_support_me, (dialog, which) -> { - FlurryAgent.logEvent("clickedSupportBtnInChangelog"); - startActivity(new Intent(MainActivity.this, AboutActivity.class).putExtra(AboutActivity.EXTRA_ACTION, AboutActivity.EXTRA_ACTION_DONATE)); - }) .create()); } } diff --git a/app/src/main/java/com/huanchengfly/tieba/post/activities/AboutActivity.java b/app/src/main/java/com/huanchengfly/tieba/post/activities/AboutActivity.java index 95a72ea4..558fcf70 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/activities/AboutActivity.java +++ b/app/src/main/java/com/huanchengfly/tieba/post/activities/AboutActivity.java @@ -3,7 +3,6 @@ package com.huanchengfly.tieba.post.activities; import android.content.Intent; import android.net.Uri; import android.os.Bundle; -import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.RelativeLayout; @@ -11,50 +10,32 @@ import android.widget.TextView; import androidx.appcompat.app.ActionBar; import androidx.appcompat.widget.Toolbar; -import androidx.recyclerview.widget.LinearLayoutManager; -import androidx.recyclerview.widget.RecyclerView; -import com.flurry.android.FlurryAgent; import com.huanchengfly.about.AboutPage; import com.huanchengfly.theme.utils.ThemeUtils; import com.huanchengfly.tieba.api.LiteApi; import com.huanchengfly.tieba.api.interfaces.CommonAPICallback; import com.huanchengfly.tieba.api.models.NewUpdateBean; -import com.huanchengfly.tieba.api.models.UpdateInfoBean; import com.huanchengfly.tieba.post.R; import com.huanchengfly.tieba.post.activities.base.BaseActivity; -import com.huanchengfly.tieba.post.base.BaseApplication; -import com.huanchengfly.tieba.post.models.PhotoViewBean; -import com.huanchengfly.tieba.post.utils.CacheUtil; -import com.huanchengfly.tieba.post.utils.DialogUtil; import com.huanchengfly.tieba.post.utils.NavigationHelper; import com.huanchengfly.tieba.post.utils.ThemeUtil; import com.huanchengfly.tieba.post.utils.VersionUtil; -import java.util.ArrayList; -import java.util.List; - public class AboutActivity extends BaseActivity implements View.OnClickListener { public static final int STATE_ERROR = 0; public static final int STATE_NO_UPDATE = 1; public static final int STATE_UPDATE = 2; - public static final String EXTRA_ACTION = "action"; - public static final String EXTRA_ACTION_JOIN_GROUP = "join_group"; - public static final String EXTRA_ACTION_DONATE = "donate"; - public static final String CACHE_ID_QQ_GROUP = "qq_group"; private View updateTip; private TextView updateTipHeaderTv; private TextView updateTipTitleTv; private TextView updateTipContentTv; private Button dismissBtn; - private List groupInfoList; private int updateState; private Button downloadBtn; private NewUpdateBean.ResultBean resultBean; private AboutPage mAboutPage; private NavigationHelper navigationHelper; - private String action; - private boolean actionExecuted = false; @Override protected void onCreate(Bundle savedInstanceState) { @@ -83,45 +64,13 @@ public class AboutActivity extends BaseActivity implements View.OnClickListener mAboutPage = new AboutPage(this) .setHeaderView(headerView) .addTitle("应用信息", colorIcon) - .addItem(new AboutPage.Item("当前版本", VersionUtil.getVersionName(this), R.drawable.ic_round_info, colorIcon).setOnClickListener(v -> checkUpdate())) - .addItem(new AboutPage.Item("前往官网").setIcon(R.drawable.ic_codepen, colorIcon).setOnClickListener(v -> navigationHelper.navigationByData(NavigationHelper.ACTION_URL, "https://tblite.huanchengfly.tk/"))) - .addItem(new AboutPage.Item(getString(R.string.title_join_group), "获取最新更新、提出建议或反馈").setIcon(R.drawable.ic_round_forum, colorIcon).setOnClickListener(v -> { - openJoinGroupDialog(); - })) - .addTitle("开发参与", colorIcon) - .addItem(new AboutPage.Item("@幻了个城fly", "贴吧 Lite 开发者", "https://ww1.sinaimg.cn/large/007rAy9hgy1g1cohwq5rsj30hs0hsmxs.jpg").setIntent(new Intent(Intent.ACTION_VIEW, Uri.parse("coolmarket://u/603089")).setPackage("com.coolapk.market").addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))) - .addItem(new AboutPage.Item("@WeAreFun", "UI 设计指导", "https://ww1.sinaimg.cn/large/007rAy9hgy1g1cohx88l1j30dc0dcmyr.jpg").setIntent(new Intent(Intent.ACTION_VIEW, Uri.parse("coolmarket://u/475044")).setPackage("com.coolapk.market").addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))) - .addItem(new AboutPage.Item("@Fairyex", "图标设计", "https://ww1.sinaimg.cn/large/007rAy9hgy1g1cohx146ij30dc0dcabx.jpg").setIntent(new Intent(Intent.ACTION_VIEW, Uri.parse("coolmarket://u/466253")).setPackage("com.coolapk.market").addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))) - .addTitle("支持我", colorIcon) - .addItem(new AboutPage.Item("微信捐赠").setIcon(R.drawable.ic_wechat, colorIcon).setOnClickListener(v -> { - PhotoViewActivity.launch(this, new PhotoViewBean("https://huancheng65.github.io/TiebaLite/wechat_donate_qrcode.png", true)); - FlurryAgent.logEvent("clickedWechatDonate"); - })) - .addItem(new AboutPage.Item("支付宝捐赠") - .setIcon(R.drawable.ic_alipay, colorIcon) - .setOnClickListener(v -> { - navigationHelper.navigationByData(NavigationHelper.ACTION_URL, "https://qr.alipay.com/FKX06385UK8W8T8X2MG827"); - FlurryAgent.logEvent("clickedAlipayDonate"); - })) - .addItem(new AboutPage.Item("支付宝领红包") - .setIcon(R.drawable.ic_archive, colorIcon) - .setOnClickListener(v -> { - navigationHelper.navigationByData(NavigationHelper.ACTION_URL, "https://qr.alipay.com/c1x06336wvvmfwjwlzbq4a5"); - FlurryAgent.logEvent("clickedAlipayRedpack"); - })); + .addItem(new AboutPage.Item("当前版本", VersionUtil.getVersionName(this), R.drawable.ic_round_info, colorIcon)) + .addItem(new AboutPage.Item("源代码").setIcon(R.drawable.ic_codepen, colorIcon).setOnClickListener(v -> navigationHelper.navigationByData(NavigationHelper.ACTION_URL, "https://github.com/HuanCheng65/TiebaLite"))); mAboutPage.into(mainView); - RecyclerView recyclerView = mAboutPage.getRecyclerView(); - action = getIntent().getStringExtra(EXTRA_ACTION); - if (action != null) { - if (EXTRA_ACTION_DONATE.equals(action)) { - ((LinearLayoutManager) recyclerView.getLayoutManager()).scrollToPositionWithOffset(9, 0); - actionExecuted = true; - } - } checkUpdate(); - loadGroups(); } + /* private void openJoinGroupDialog() { if (groupInfoList == null) { return; @@ -143,7 +92,6 @@ public class AboutActivity extends BaseActivity implements View.OnClickListener }) .show(); } - private void loadGroups() { UpdateInfoBean cache = CacheUtil.getCache(this, CACHE_ID_QQ_GROUP, UpdateInfoBean.class); if (cache != null) { @@ -192,6 +140,7 @@ public class AboutActivity extends BaseActivity implements View.OnClickListener } }); } + */ private void checkUpdate() { LiteApi.getInstance().newCheckUpdate(new CommonAPICallback() { diff --git a/app/src/main/java/com/huanchengfly/tieba/post/fragments/WebViewFragment.java b/app/src/main/java/com/huanchengfly/tieba/post/fragments/WebViewFragment.java index b9aeda85..18a76fcf 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/fragments/WebViewFragment.java +++ b/app/src/main/java/com/huanchengfly/tieba/post/fragments/WebViewFragment.java @@ -57,6 +57,7 @@ import java.util.List; import static com.huanchengfly.tieba.post.utils.FileUtil.FILE_TYPE_DOWNLOAD; +//TODO: 代码太烂,需要重写 public class WebViewFragment extends BaseFragment implements DownloadListener { public static final String TAG = WebViewFragment.class.getSimpleName(); private static final String DEFAULT_TITLE = "贴吧 Lite"; diff --git a/app/src/main/java/com/huanchengfly/tieba/post/fragments/intro/ExploreFragment.java b/app/src/main/java/com/huanchengfly/tieba/post/fragments/intro/ExploreFragment.java index 53a582c4..4ae6511e 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/fragments/intro/ExploreFragment.java +++ b/app/src/main/java/com/huanchengfly/tieba/post/fragments/intro/ExploreFragment.java @@ -64,12 +64,6 @@ public class ExploreFragment extends BaseIntroFragment implements View.OnClickLi case R.id.explore_auto_sign: startActivity(new Intent(getAttachContext(), SettingsActivity.class).putExtra("scroll_to_preference", "auto_sign")); break; - case R.id.explore_qq: - startActivity(new Intent(getAttachContext(), AboutActivity.class).putExtra("action", "join_group")); - break; - case R.id.explore_donate: - startActivity(new Intent(getAttachContext(), AboutActivity.class).putExtra("action", "donate")); - break; } } } diff --git a/app/src/main/res/anim/in_right_to_left.xml b/app/src/main/res/anim/in_right_to_left.xml deleted file mode 100644 index 18152453..00000000 --- a/app/src/main/res/anim/in_right_to_left.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/main/res/anim/out_left_to_right.xml b/app/src/main/res/anim/out_left_to_right.xml deleted file mode 100644 index d1f0e328..00000000 --- a/app/src/main/res/anim/out_left_to_right.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_alipay.xml b/app/src/main/res/drawable/ic_alipay.xml deleted file mode 100644 index a806bdc5..00000000 --- a/app/src/main/res/drawable/ic_alipay.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_archive.xml b/app/src/main/res/drawable/ic_archive.xml deleted file mode 100644 index 192a275b..00000000 --- a/app/src/main/res/drawable/ic_archive.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_block.xml b/app/src/main/res/drawable/ic_block.xml deleted file mode 100644 index 4510bf5b..00000000 --- a/app/src/main/res/drawable/ic_block.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_outline_account_circle_white.xml b/app/src/main/res/drawable/ic_outline_account_circle_white.xml deleted file mode 100644 index 99980c7c..00000000 --- a/app/src/main/res/drawable/ic_outline_account_circle_white.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_qq.xml b/app/src/main/res/drawable/ic_qq.xml deleted file mode 100644 index 61428bf4..00000000 --- a/app/src/main/res/drawable/ic_qq.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_round_access_time.xml b/app/src/main/res/drawable/ic_round_access_time.xml deleted file mode 100644 index 844bdf61..00000000 --- a/app/src/main/res/drawable/ic_round_access_time.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_round_account_circle_white.xml b/app/src/main/res/drawable/ic_round_account_circle_white.xml deleted file mode 100644 index f8491870..00000000 --- a/app/src/main/res/drawable/ic_round_account_circle_white.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_round_attach_money.xml b/app/src/main/res/drawable/ic_round_attach_money.xml deleted file mode 100644 index 937ef52d..00000000 --- a/app/src/main/res/drawable/ic_round_attach_money.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_round_local_mall.xml b/app/src/main/res/drawable/ic_round_local_mall.xml deleted file mode 100644 index 9aacca3a..00000000 --- a/app/src/main/res/drawable/ic_round_local_mall.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_round_monetization_on.xml b/app/src/main/res/drawable/ic_round_monetization_on.xml deleted file mode 100644 index 6ae4aea3..00000000 --- a/app/src/main/res/drawable/ic_round_monetization_on.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_round_share.xml b/app/src/main/res/drawable/ic_round_share.xml deleted file mode 100644 index 3dd65cf2..00000000 --- a/app/src/main/res/drawable/ic_round_share.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_round_touch_app.xml b/app/src/main/res/drawable/ic_round_touch_app.xml deleted file mode 100644 index f259d9dd..00000000 --- a/app/src/main/res/drawable/ic_round_touch_app.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_wechat.xml b/app/src/main/res/drawable/ic_wechat.xml deleted file mode 100644 index 12bbb251..00000000 --- a/app/src/main/res/drawable/ic_wechat.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/tint_button.xml b/app/src/main/res/drawable/tint_button.xml deleted file mode 100644 index 742f4485..00000000 --- a/app/src/main/res/drawable/tint_button.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/layout_footer_empty_loading.xml b/app/src/main/res/layout/layout_footer_empty_loading.xml deleted file mode 100644 index dc340ac3..00000000 --- a/app/src/main/res/layout/layout_footer_empty_loading.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/layout_fragment_explore.xml b/app/src/main/res/layout/layout_fragment_explore.xml index 2d6b06ed..c68e86ff 100644 --- a/app/src/main/res/layout/layout_fragment_explore.xml +++ b/app/src/main/res/layout/layout_fragment_explore.xml @@ -49,98 +49,4 @@ android:layout_height="wrap_content" /> - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/values-night/booleans.xml b/app/src/main/res/values-night/booleans.xml index a4aa77cd..a6b3daec 100644 --- a/app/src/main/res/values-night/booleans.xml +++ b/app/src/main/res/values-night/booleans.xml @@ -1,4 +1,2 @@ - - false - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values/booleans.xml b/app/src/main/res/values/booleans.xml index f82d7771..a6b3daec 100644 --- a/app/src/main/res/values/booleans.xml +++ b/app/src/main/res/values/booleans.xml @@ -1,4 +1,2 @@ - - true - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 915e7167..868d3105 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -33,7 +33,6 @@ 沉浸阅读 头像 请先登录 - 更新 正在加载… 倒序浏览 只看楼主 @@ -84,9 +83,7 @@ 回复我的主题:%1$s 回复我的 查看主题 - 搜索 %1$s 的结果 %1$s / %2$s - 重启程序后生效 %1$s 楼的回复 发送到桌面 已尝试发送快捷方式 @@ -111,7 +108,6 @@ Beta 版本可能不稳定 当前版本 %1$s 正在更新登录信息 - 正在更新数据 提示:若您的账号登录失效,可点击“添加账号”,然后登录相同的账号即可更新登录信息。 你有 %1$s 条新回复 有 %1$s 人提到了你 @@ -122,7 +118,6 @@ 这个人很懒,什么都没有写 屏蔽此用户 - 选择操作 添加成功 取消关注成功 取消关注失败 %1$s @@ -155,19 +150,14 @@ 确认退出登录吗? 发现新版本 %1$s 您的登录信息需要更新 - 我们需要更新一些数据 这不会花费您太多时间,请点击“确定”开始更新 您的登录信息似乎已过期 请您重新登录 - 贴吧 Lite 发生了一个错误 - 复制 - 我们已为您重启了程序,您可以复制下面的崩溃详情反馈给开发者\n%1$s 下次再说 去下载 发现新版本 %1$s Beta 版本可能不稳定,请谨慎更新\n 我们需要获取您的部分权限 - 这些权限将仅用于必要的工作。\n「存储空间」权限:用于保存、上传图片\n「电话」权限:获取您的 IMEI 以用于请求百度 API 未授予「存储空间」权限,无法插入图片 这些权限将仅用于必要的工作。\n 「%1$s」权限:%2$s\n @@ -191,7 +181,6 @@ 举报 使用旧样式的等级图标 - 确定要删除吗? 删除失败 %1$s 删除成功 @@ -199,8 +188,6 @@ 该用户已隐藏个人动态 %1$s 关注\u3000%2$s 粉丝 %1$s吧 - 直链下载 - %1$s 密码%2$s 选择下载方式 您上次阅读到第 %1$s 楼 贴吧 Lite 当前已是最新版本 @@ -230,7 +217,6 @@ 吧列表单列显示 隐藏首页「动态」入口 在贴内显示快捷进吧入口 - 加入交流群 清除搜索记录 清除成功 网络似乎有问题 @@ -253,10 +239,7 @@ 关注 取消关注 未知错误 - 百度又又又抽风了… - API 解析失败 置顶的贴吧 - 账号未登录 使用内置浏览器 所有链接都将使用内置浏览器打开 仅贴吧链接将使用内置浏览器打开 @@ -273,9 +256,6 @@ 上次阅读到此处,点击刷新 开启后,将在贴子内显示快速进吧的入口 将在贴子内显示快速进吧的入口 - show_time - 贴列表显示时间 - 设置浏览吧时贴列表显示的时间 完成 主题色 设置自定义主题 @@ -291,10 +271,6 @@ 热议话题 (每小时更新一次,以实时讨论量排序) 图片保存在 %1$s - 贴吧 Lite 是一个极简的贴吧第三方客户端 - 权限申请 - 敬请享受吧! - 发现 Bug 请至评论区反馈 吧默认排序方式 设置浏览吧是贴子的默认排序方式 加载失败 @@ -338,9 +314,6 @@ 选择主题 轻按“继续”以开始授权 - 获取最新更新、提出建议或反馈 - 支持我 - 请我喝饮料,或者领个大红包 一切就绪! 接下来,登录您的百度账号,然后开始使用吧 分享图片 @@ -348,12 +321,9 @@ 用于下载文件 最多选择 10 张图片 版本更新日志 - 支持一下 %1$s(%2$s) 同时显示用户名和昵称 图片圆角大小 - emmmmmmmmmm - emmmm 信息 %1$s 人关注 %2$s 篇贴子 友情贴吧 @@ -362,7 +332,6 @@ 清除全部历史 粉丝: %s 是否要打开剪贴板中的链接 - 发现链接「%s」 来自%1$s吧,共 %2$s 条回复 网页链接 开启漫画模式 @@ -370,7 +339,6 @@ 漫画模式已开启 漫画模式已关闭 下载图片中… - 加入 Telegram 群 选择背景图片 透明主题(BETA)设置 透明度 @@ -384,4 +352,6 @@ 关注失败 %s 请先登录 跳转失败 + 免责声明 + 本软件仅供交流学习使用,严禁用于商业用途,请于下载后 24 小时内删除。 diff --git a/application.properties b/application.properties index 308f113e..d617f27d 100644 --- a/application.properties +++ b/application.properties @@ -1,4 +1,4 @@ -versionCode=38006 +versionCode=38100 versionName=3.8.1 -isPerVersion=true +isPerVersion=false perVersion=beta2 \ No newline at end of file diff --git a/build.gradle b/build.gradle index bb99febf..29e0bbb5 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.3.61' + ext.kotlin_version = '1.3.71' repositories { maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/jcenter' }