We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7939ce5 commit df1cd56Copy full SHA for df1cd56
1 file changed
app/src/main/kotlin/org/fossify/notes/activities/MainActivity.kt
@@ -23,6 +23,7 @@ import android.util.TypedValue
23
import android.view.ActionMode
24
import android.view.Gravity
25
import android.view.MenuItem
26
+import android.view.WindowManager
27
import android.view.inputmethod.EditorInfo
28
import android.webkit.WebResourceRequest
29
import android.webkit.WebView
@@ -549,6 +550,7 @@ class MainActivity : SimpleActivity() {
549
550
}
551
552
private fun initViewPager(wantedNoteId: Long? = null) {
553
+ window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE or WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN)
554
NotesHelper(this).getNotes { notes ->
555
notes.filter { it.shouldBeUnlocked(this) }
556
.forEach(::removeProtection)
0 commit comments