mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-21 12:25:57 +03:00
Update app/src/main/java/it/niedermann/owncloud/notes/edit/NoteEditFragment.java
Co-authored-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com> Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
This commit is contained in:
parent
b7d56765de
commit
77c785a5ec
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ public class NoteEditFragment extends SearchableBaseNoteFragment {
|
|||
public void onSaveInstanceState(@NonNull Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
|
||||
if (binding.editContent != null && binding.editContent.hasFocus()) {
|
||||
if (binding != null && binding.editContent.hasFocus()) {
|
||||
outState.putInt("lastSelection", binding.editContent.getSelectionStart());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue