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

Commit

Permalink
Project: Update
Browse files Browse the repository at this point in the history
Signed-off-by: Fung Gwo <[email protected]>
  • Loading branch information
fython committed Feb 16, 2019
1 parent 2f1a188 commit 601a9b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ class Spanny : SpannableStringBuilder {

private var flag = Spannable.SPAN_EXCLUSIVE_EXCLUSIVE

constructor() : super("") {}
constructor() : super("")

constructor(text: CharSequence) : super(text) {}
constructor(text: CharSequence) : super(text)

constructor(text: CharSequence, vararg spans: Any) : super(text) {
for (span in spans) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class DetailsActivity : AbsActivity() {
messageRes = R.string.dialog_delete_message
okButton { _, _ ->
val intent = Intent()
intent.putExtra("data", data!!)
intent.putExtra("data", data)
setResult(RESULT_DELETED, intent)
finish()
}
Expand Down
2 changes: 1 addition & 1 deletion mobile/src/main/res/layout/activity_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black"
android:alpha="0.35"
android:alpha="0"
android:clickable="true"
android:focusable="true"
android:visibility="gone"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
android:id="@+id/contact_card"
android:visibility="gone"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground"
app:cardElevation="2dp"
tools:visibility="visible">
Expand Down

0 comments on commit 601a9b2

Please sign in to comment.