Skip to content

Commit 85abcf7

Browse files
committed
修改 bug
1 parent cbf31f9 commit 85abcf7

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

app/src/main/java/net/coding/program/message/NotifyListActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public View getView(int position, View convertView, ViewGroup parent) {
180180
String firstLink = "";
181181
if (firstStart != -1 && firstEnd != -1) {
182182
firstLink = title.substring(firstStart, firstEnd + hrefEnd.length());
183-
holder.name.setText(GlobalCommon.changeHyperlinkColor(firstLink));
183+
holder.name.setText(GlobalCommon.changeHyperlinkColor(firstLink, CodingColor.select1));
184184

185185
title = title.replace(firstLink, "");
186186
int lastEnd = title.lastIndexOf(hrefEnd);
@@ -213,7 +213,7 @@ public View getView(int position, View convertView, ViewGroup parent) {
213213
}
214214

215215
holder.title.setVisibility(View.VISIBLE);
216-
holder.title.setText(GlobalCommon.changeHyperlinkColor(title, 0xFF136BFB));
216+
holder.title.setText(GlobalCommon.changeHyperlinkColor(title, CodingColor.select2));
217217

218218
holder.badge.setVisibility(data.isUnRead() ? View.VISIBLE : View.INVISIBLE);
219219

app/src/main/res/layout/activity_search_project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<TextView
8181
style="@style/searchEmptyIcon"
8282
android:layout_marginLeft="0dp"
83-
android:drawableTop="@mipmap/ic_search_user"
83+
android:drawableTop="@mipmap/ic_search_file"
8484
android:text="文件" />
8585

8686
<TextView

common-coding/src/main/res/values/styles.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
</style>
1010

1111
<style name="GreenTextButton" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
12-
<item name="android:textColor">#FF2EBE76</item>
12+
<item name="android:textColor">#FF0060FF</item>
1313
</style>
1414

1515
<style name="CodingWarnDialog" parent="MyAlertDialogStyle">
1616
<item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item>
1717
</style>
1818

1919
<style name="PositiveButtonStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
20-
<item name="android:textColor">#FFFE3824</item>
20+
<item name="android:textColor">#FFFF0000</item>
2121
</style>
2222

2323
<style name="Widget_RoundButton">

terminal-coding/src/main/java/net/coding/program/terminal/TerminalActivity.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@ class TerminalActivity : BackActivity() {
4646
KeyItem.ESC -> {
4747
showLogin = !showLogin
4848
if (showLogin) {
49-
loadUrl("http://ide.xiayule.net")
49+
var url = "http://ide.xiayule.net"
50+
url = "http://ide.xiayule.net"
51+
loadUrl(url)
5052
showMiddleToast("打开登录页面")
5153
} else {
52-
loadUrl("http://ide.test:8060")
54+
var url = "http://ide.test:8060"
55+
url = "http://ide.test:8060 "
56+
loadUrl(url)
5357
showMiddleToast("打开Terminal")
5458
}
5559
}

0 commit comments

Comments
 (0)