Skip to content
Snippets Groups Projects

Draft: add Parental Control toggle to settings view

Open Arthur Norat requested to merge arthurnorat/vlc-ios:kids-mode into master

Description

This MR adds a "Parental Control" toggle to the settings view. When activated, files cannot be deleted or playlists modified without entering the pin.

Changes Made

  • Added a new SettingsItem of type .toggle to the main settings section.
  • Defined the kVLCSettingEnableKidsMode constant in VLCConstants.h.
  • Added translations for the toggle text and subtitle in Root.strings (English and Brazilian Portuguese).
  • Created new function 'authenticateUser' in 'EditActions'
  • Called function 'authenticateUser' in 'defete' functions in 'EditActions'
Edited by Arthur Norat

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading