Skip to content

Draft: add Parental Control toggle to settings view

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