File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
app/src/main/kotlin/com/simplemobiletools/notes/pro Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1084,6 +1084,10 @@ class MainActivity : SimpleActivity() {
10841084 mCurrentNote.protectionHash = " "
10851085 mCurrentNote.protectionType = PROTECTION_NONE
10861086 NotesHelper (this ).insertOrUpdateNote(mCurrentNote) {
1087+ getCurrentFragment()?.apply {
1088+ shouldShowLockedContent = true
1089+ checkLockState()
1090+ }
10871091 invalidateOptionsMenu()
10881092 }
10891093 }
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import com.simplemobiletools.notes.pro.models.Note
1414import kotlinx.android.synthetic.main.fragment_checklist.view.*
1515
1616abstract class NoteFragment : Fragment () {
17- protected var shouldShowLockedContent = false
1817 protected var note: Note ? = null
18+ var shouldShowLockedContent = false
1919
2020 protected fun setupLockedViews (view : ViewGroup , note : Note ) {
2121 view.apply {
You can’t perform that action at this time.
0 commit comments