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() {
1084
1084
mCurrentNote.protectionHash = " "
1085
1085
mCurrentNote.protectionType = PROTECTION_NONE
1086
1086
NotesHelper (this ).insertOrUpdateNote(mCurrentNote) {
1087
+ getCurrentFragment()?.apply {
1088
+ shouldShowLockedContent = true
1089
+ checkLockState()
1090
+ }
1087
1091
invalidateOptionsMenu()
1088
1092
}
1089
1093
}
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import com.simplemobiletools.notes.pro.models.Note
14
14
import kotlinx.android.synthetic.main.fragment_checklist.view.*
15
15
16
16
abstract class NoteFragment : Fragment () {
17
- protected var shouldShowLockedContent = false
18
17
protected var note: Note ? = null
18
+ var shouldShowLockedContent = false
19
19
20
20
protected fun setupLockedViews (view : ViewGroup , note : Note ) {
21
21
view.apply {
You can’t perform that action at this time.
0 commit comments