mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-25 22:36:17 +03:00
Adjust hints to actions
This commit is contained in:
parent
4f42142522
commit
33cee4397d
4 changed files with 8 additions and 3 deletions
|
@ -34,7 +34,6 @@ public class ExceptionActivity extends AppCompatActivity {
|
|||
binding.copy.setOnClickListener((v) -> copyStacktraceToClipboard());
|
||||
binding.close.setOnClickListener((v) -> close());
|
||||
|
||||
|
||||
final TipsAdapter adapter = new TipsAdapter(this::startActivity);
|
||||
binding.tips.setAdapter(adapter);
|
||||
binding.tips.setNestedScrollingEnabled(false);
|
||||
|
|
|
@ -70,7 +70,6 @@ public class TipsAdapter extends RecyclerView.Adapter<TipsViewHolder> {
|
|||
.setData(Uri.parse("package:" + BuildConfig.APPLICATION_ID))
|
||||
.putExtra(INTENT_EXTRA_BUTTON_TEXT, R.string.error_action_open_deck_info);
|
||||
add(R.string.error_dialog_tip_clear_storage, intent);
|
||||
add(R.string.error_dialog_tip_clear_storage);
|
||||
} else if (t instanceof NextcloudFilesAppNotSupportedException) {
|
||||
add(R.string.error_dialog_tip_files_outdated);
|
||||
} else if (t instanceof NextcloudApiNotRespondingException) {
|
||||
|
|
|
@ -44,6 +44,13 @@
|
|||
tools:itemCount="2"
|
||||
tools:listitem="@layout/item_tip" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/spacer_2x"
|
||||
android:text="@string/error_dialog_we_need_info"
|
||||
android:textAppearance="?attr/textAppearanceBody2" />
|
||||
|
||||
<HorizontalScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
|
|
|
@ -168,7 +168,7 @@
|
|||
<string name="error_dialog_title">Oh no - What now? 🙁</string>
|
||||
<string name="error_dialog_tip_token_mismatch_retry">Please try to force close the app and restart it again. There might have been an incorrect connection to the Nextcloud app.</string>
|
||||
<string name="error_dialog_tip_token_mismatch_clear_storage">If the issue persists, try to clear the storage of both apps: Nextcloud and Nextcloud Notes to solve this issue.</string>
|
||||
<string name="error_dialog_tip_clear_storage">You can clear the storage by opening android settings → Apps → Nextcloud / Nextcloud Notes → Storage → Clear storage.</string>
|
||||
<string name="error_dialog_tip_clear_storage">You can clear the storage by opening the app info and selecting Storage → Clear storage.</string>
|
||||
<string name="error_dialog_tip_files_outdated">Your Nextcloud app seems to be outdated. Please visit the Play Store or F-Droid to get the latest version.</string>
|
||||
<string name="error_dialog_tip_files_force_stop">Something seems to be wrong with your Nextcloud app. Please try to force stop both, the Nextcloud app and the Nextcloud Notes app.</string>
|
||||
<string name="error_dialog_tip_files_delete_storage">If force stopping them does not help, you can try to clear the storage of both apps.</string>
|
||||
|
|
Loading…
Reference in a new issue