Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit 601a9b2

Browse files
committed
Project: Update
Signed-off-by: Fung Gwo <fython@163.com>
1 parent 2f1a188 commit 601a9b2

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

mobile/src/main/kotlin/info/papdt/express/helper/support/Spanny.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ class Spanny : SpannableStringBuilder {
3636

3737
private var flag = Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
3838

39-
constructor() : super("") {}
39+
constructor() : super("")
4040

41-
constructor(text: CharSequence) : super(text) {}
41+
constructor(text: CharSequence) : super(text)
4242

4343
constructor(text: CharSequence, vararg spans: Any) : super(text) {
4444
for (span in spans) {

mobile/src/main/kotlin/info/papdt/express/helper/ui/DetailsActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class DetailsActivity : AbsActivity() {
5757
messageRes = R.string.dialog_delete_message
5858
okButton { _, _ ->
5959
val intent = Intent()
60-
intent.putExtra("data", data!!)
60+
intent.putExtra("data", data)
6161
setResult(RESULT_DELETED, intent)
6262
finish()
6363
}

mobile/src/main/res/layout/activity_home.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
android:layout_width="match_parent"
6565
android:layout_height="match_parent"
6666
android:background="@android:color/black"
67-
android:alpha="0.35"
67+
android:alpha="0"
6868
android:clickable="true"
6969
android:focusable="true"
7070
android:visibility="gone"

mobile/src/main/res/layout/item_list_details_info_status.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
android:id="@+id/contact_card"
5757
android:visibility="gone"
5858
android:clickable="true"
59+
android:focusable="true"
5960
android:foreground="?attr/selectableItemBackground"
6061
app:cardElevation="2dp"
6162
tools:visibility="visible">

0 commit comments

Comments
 (0)