Draft: add Parental Control toggle to settings view
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 inVLCConstants.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