Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2021-11-18 16:27:25 +0300
committerStefan Niedermann <info@niedermann.it>2021-11-18 16:27:25 +0300
commit1549d69717c43996bb31f1b91c3282006f01dfaa (patch)
tree848db095ef2730ece7a9fb4bb8e260efb22eb547
parent8f644ca11e01c45aced95c29c7858bed4cc4ef94 (diff)
Remove status message from ExceptionDialogFragment
Signed-off-by: Stefan Niedermann <info@niedermann.it>
-rw-r--r--app/src/main/java/it/niedermann/owncloud/notes/exception/ExceptionDialogFragment.java1
-rw-r--r--app/src/main/res/layout/dialog_exception.xml7
2 files changed, 0 insertions, 8 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/exception/ExceptionDialogFragment.java b/app/src/main/java/it/niedermann/owncloud/notes/exception/ExceptionDialogFragment.java
index 8845e190..cfaa543d 100644
--- a/app/src/main/java/it/niedermann/owncloud/notes/exception/ExceptionDialogFragment.java
+++ b/app/src/main/java/it/niedermann/owncloud/notes/exception/ExceptionDialogFragment.java
@@ -58,7 +58,6 @@ public class ExceptionDialogFragment extends AppCompatDialogFragment {
final String debugInfos = ExceptionUtil.INSTANCE.getDebugInfos(requireContext(), throwables, BuildConfig.FLAVOR);
binding.tips.setAdapter(adapter);
- binding.statusMessage.setText(getString(R.string.error_sync, throwables.size() > 0 ? throwables.get(0).getLocalizedMessage() : getString(R.string.error_unknown)));
binding.stacktrace.setText(debugInfos);
adapter.setThrowables(throwables);
diff --git a/app/src/main/res/layout/dialog_exception.xml b/app/src/main/res/layout/dialog_exception.xml
index 875605ac..92cc7dce 100644
--- a/app/src/main/res/layout/dialog_exception.xml
+++ b/app/src/main/res/layout/dialog_exception.xml
@@ -12,13 +12,6 @@
android:layout_height="wrap_content"
android:orientation="vertical">
- <TextView
- android:id="@+id/statusMessage"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:maxLength="50"
- tools:text="@tools:sample/lorem/random" />
-
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/tips"
android:layout_width="match_parent"