File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/kotlin/com/simplemobiletools/notes/pro/activities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ class MainActivity : SimpleActivity() {
243243 super .onActionModeStarted(mode)
244244 if (wasInit) {
245245 currentNotesView()?.apply {
246- if (config.clickableLinks || movementMethod is LinkMovementMethod ) {
246+ if (config.clickableLinks || movementMethod is LinkMovementMethod || movementMethod is MyMovementMethod ) {
247247 movementMethod = ArrowKeyMovementMethod .getInstance()
248248 noteViewWithTextSelected = this
249249 }
@@ -254,7 +254,7 @@ class MainActivity : SimpleActivity() {
254254 override fun onActionModeFinished (mode : ActionMode ? ) {
255255 super .onActionModeFinished(mode)
256256 if (config.clickableLinks) {
257- noteViewWithTextSelected?.movementMethod = LinkMovementMethod .getInstance()
257+ noteViewWithTextSelected?.movementMethod = MyMovementMethod .getInstance()
258258 }
259259 }
260260
You can’t perform that action at this time.
0 commit comments