From 85eff702c3dddaf64b05297ff423614220c53aed Mon Sep 17 00:00:00 2001 From: Ryan ZHAO Date: Thu, 13 May 2021 14:24:30 +1000 Subject: [PATCH] clean --- .../loki/dialogs/UserDetailsBottomSheet.kt | 4 - .../fragment_user_details_bottom_sheet.xml | 8 +- libsession/src/main/res/values/styles.xml | 441 ------------------ libsession/src/main/res/values/themes.xml | 294 ------------ 4 files changed, 5 insertions(+), 742 deletions(-) delete mode 100644 libsession/src/main/res/values/styles.xml delete mode 100644 libsession/src/main/res/values/themes.xml diff --git a/app/src/main/java/org/thoughtcrime/securesms/loki/dialogs/UserDetailsBottomSheet.kt b/app/src/main/java/org/thoughtcrime/securesms/loki/dialogs/UserDetailsBottomSheet.kt index 08c7183501..e060170d5c 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/loki/dialogs/UserDetailsBottomSheet.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/loki/dialogs/UserDetailsBottomSheet.kt @@ -4,9 +4,7 @@ import android.annotation.SuppressLint import android.content.ClipData import android.content.ClipboardManager import android.content.Context -import android.opengl.Visibility import android.os.Bundle -import android.text.InputType import com.google.android.material.bottomsheet.BottomSheetDialogFragment import android.view.LayoutInflater import android.view.View @@ -14,12 +12,10 @@ import android.view.ViewGroup import android.view.inputmethod.InputMethodManager import android.widget.Toast import kotlinx.android.synthetic.main.fragment_user_details_bottom_sheet.* -import kotlinx.android.synthetic.main.view_conversation.view.* import network.loki.messenger.R import org.session.libsession.messaging.threads.Address import org.session.libsession.messaging.threads.recipients.Recipient import org.session.libsession.utilities.SSKEnvironment -import org.thoughtcrime.securesms.database.DatabaseFactory import org.thoughtcrime.securesms.mms.GlideApp public class UserDetailsBottomSheet : BottomSheetDialogFragment() { diff --git a/app/src/main/res/layout/fragment_user_details_bottom_sheet.xml b/app/src/main/res/layout/fragment_user_details_bottom_sheet.xml index 48496a4982..f172a42f75 100644 --- a/app/src/main/res/layout/fragment_user_details_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_user_details_bottom_sheet.xml @@ -29,20 +29,22 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" - android:visibility="invisible"> + android:visibility="visible"> + android:drawableEnd="@drawable/ic_baseline_edit_24" + android:drawablePadding="@dimen/small_spacing" /> diff --git a/libsession/src/main/res/values/styles.xml b/libsession/src/main/res/values/styles.xml deleted file mode 100644 index db1af0eab2..0000000000 --- a/libsession/src/main/res/values/styles.xml +++ /dev/null @@ -1,441 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libsession/src/main/res/values/themes.xml b/libsession/src/main/res/values/themes.xml deleted file mode 100644 index 4239aebee4..0000000000 --- a/libsession/src/main/res/values/themes.xml +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -