Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
新增QQ频道
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuecanzhu committed Jan 17, 2022
1 parent cdcc11b commit 23f8336
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
</table>

* 官网:[https://reader.fycz.tk](https://reader.fycz.tk)
* 反馈交流群:
* 反馈交流:
* QQ群:[1085028304](https://jq.qq.com/?_wv=1027&k=6pcq8YBk)
* Telegram:[https://t.me/FYReader](https://t.me/FYReader)
* QQ频道:[点击加入](https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=2aP6ZQ&from=246610&biz=ka)
* [更新日志](./app/src/main/assets/updatelog.fy)
* [免责声明](./app/src/main/assets/disclaimer.fy)

Expand Down
3 changes: 2 additions & 1 deletion app/release.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* 1、修复部分机型阅读界面切换日夜间闪退的问题
* 2、优化搜索界面
* 3、搜索界面新增书架书籍搜索
* 4、修复朗读到章节最后一页停止的问题
* 4、修复朗读到章节最后一页停止的问题
* 5、新增QQ频道,建议反馈请到QQ频道进行
1 change: 1 addition & 0 deletions app/src/main/assets/updatelog.fy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
2、优化搜索界面
3、搜索界面新增书架书籍搜索
4、修复朗读到章节最后一页停止的问题
5、新增QQ频道,建议反馈请到QQ频道进行

2021.12.11
风月读书v2.2.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ protected void initClick() {
mClipboardManager.setPrimaryClip(mClipData);
ToastUtils.showSuccess("邮箱\"[email protected]\"已复制到剪切板");
});
binding.il.rlJoinQqChannel.setOnClickListener(v -> {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=2aP6ZQ&from=246610&biz=ka"));
startActivity(intent);
});

binding.il.rlShareLog.setOnClickListener(v -> DialogCreator.createCommonDialog(this, "分享崩溃日志",
"你是希望将日志上传到服务器,还是直接分享给他人?", true,
"上传服务器", "直接分享", (dialog, which) -> uploadCrashLog(), (dialog, which) -> shareCrashLog()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import android.annotation.SuppressLint;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
Expand Down Expand Up @@ -389,8 +390,9 @@ public void restoreError(@NotNull String msg) {
});

binding.mineRlFeedback.setOnClickListener(v -> {
Intent intent = new Intent(getContext(), FeedbackActivity.class);
getActivity().startActivity(intent);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=2aP6ZQ&from=246610&biz=ka"));
startActivity(intent);
});

binding.mineRlDonate.setOnClickListener(v -> startActivity(new Intent(getActivity(), DonateActivity.class)));
Expand Down
37 changes: 31 additions & 6 deletions app/src/main/res/layout/layout_about_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorForeground"
android:orientation="vertical"
>
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
Expand Down Expand Up @@ -200,6 +199,31 @@
app:tint="@color/textSecondary" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/rl_join_qq_channel"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@drawable/selector_common_bg"
android:gravity="center"
android:paddingStart="20dp"
android:paddingEnd="10dp">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="@string/join_qq_channel"
android:textColor="@color/textPrimary"
android:textSize="@dimen/text_normal_size" />

<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
app:srcCompat="@drawable/ic_right_arrow"
app:tint="@color/textSecondary" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/rl_contact_author"
Expand Down Expand Up @@ -227,6 +251,11 @@
app:tint="@color/textSecondary" />
</RelativeLayout>


<View
android:layout_width="match_parent"
android:layout_height="10dp" />

<RelativeLayout
android:id="@+id/rl_share_log"
android:layout_width="match_parent"
Expand All @@ -253,10 +282,6 @@
app:tint="@color/textSecondary" />
</RelativeLayout>

<View
android:layout_width="match_parent"
android:layout_height="10dp" />

<RelativeLayout
android:id="@+id/rl_privacy_policy"
android:layout_width="match_parent"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
<string name="this_github_url">https://github.com/fengyuecanzhu/FYReader</string>
<string name="update">检查更新</string>
<string name="thanks">致谢名单</string>
<string name="join_qq_channel">加入QQ频道</string>


<!--file system-->
Expand Down Expand Up @@ -150,7 +151,7 @@
<string name="common_search">搜索</string>
<string name="theme_mode">主题模式</string>
<string name="join_qq_group">加入QQ群</string>
<string name="mine_feedback">建议反馈</string>
<string name="mine_feedback">建议反馈(QQ频道)</string>
<string name="menu_change_group">分组切换</string>
<string name="menu_group_man">分组管理</string>
<string name="menu_group_setting">设置分组</string>
Expand Down

0 comments on commit 23f8336

Please sign in to comment.