feat: add setting for auto-lock fix: fix sideswipe

This commit is contained in:
2026-08-04 01:09:01 +02:00
parent 0997d110d4
commit 812fcc892b
23 changed files with 629 additions and 28 deletions
+6
View File
@@ -25,6 +25,7 @@
"settingsTitle": "Settings",
"security": "Security",
"pinRequired": "PIN Required",
"autoLockOnExit": "Auto-lock on phone lock or app exit",
"changePin": "Change PIN",
"appearance": "Appearance",
"language": "Language",
@@ -71,7 +72,12 @@
"selectOrOpenTab": "Select or open a tab",
"noOpenTabs": "No open tabs",
"edit": "Edit",
"editTab": "Edit tab",
"close": "Close",
"deleteTab": "Delete tab?",
"deleteTabDescription": "This will permanently delete the tab and return all its items to stock.",
"couldNotRenameTab": "Could not rename tab.",
"couldNotDeleteTab": "Could not delete tab.",
"tabItemSummary": "{count, plural, =1 {1 item - {total}} other {{count} items - {total}}}",
"@tabItemSummary": {"placeholders": {"count": {"type": "int"}, "total": {"type": "String"}}},
"tabItemCount": "{count, plural, =1 {1 item} other {{count} items}}",
+36
View File
@@ -242,6 +242,12 @@ abstract class AppLocalizations {
/// **'PIN Required'**
String get pinRequired;
/// No description provided for @autoLockOnExit.
///
/// In en, this message translates to:
/// **'Auto-lock on phone lock or app exit'**
String get autoLockOnExit;
/// No description provided for @changePin.
///
/// In en, this message translates to:
@@ -506,12 +512,42 @@ abstract class AppLocalizations {
/// **'Edit'**
String get edit;
/// No description provided for @editTab.
///
/// In en, this message translates to:
/// **'Edit tab'**
String get editTab;
/// No description provided for @close.
///
/// In en, this message translates to:
/// **'Close'**
String get close;
/// No description provided for @deleteTab.
///
/// In en, this message translates to:
/// **'Delete tab?'**
String get deleteTab;
/// No description provided for @deleteTabDescription.
///
/// In en, this message translates to:
/// **'This will permanently delete the tab and return all its items to stock.'**
String get deleteTabDescription;
/// No description provided for @couldNotRenameTab.
///
/// In en, this message translates to:
/// **'Could not rename tab.'**
String get couldNotRenameTab;
/// No description provided for @couldNotDeleteTab.
///
/// In en, this message translates to:
/// **'Could not delete tab.'**
String get couldNotDeleteTab;
/// No description provided for @tabItemSummary.
///
/// In en, this message translates to:
+19
View File
@@ -82,6 +82,9 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get pinRequired => 'PIN Required';
@override
String get autoLockOnExit => 'Auto-lock on phone lock or app exit';
@override
String get changePin => 'Change PIN';
@@ -219,9 +222,25 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get edit => 'Edit';
@override
String get editTab => 'Edit tab';
@override
String get close => 'Close';
@override
String get deleteTab => 'Delete tab?';
@override
String get deleteTabDescription =>
'This will permanently delete the tab and return all its items to stock.';
@override
String get couldNotRenameTab => 'Could not rename tab.';
@override
String get couldNotDeleteTab => 'Could not delete tab.';
@override
String tabItemSummary(int count, String total) {
String _temp0 = intl.Intl.pluralLogic(
+2
View File
@@ -23,6 +23,8 @@ extension AppLocalizationsHelpers on AppLocalizations {
'Could not add product to tab.' => couldNotAddProductToTab,
'Could not update item quantity.' => couldNotUpdateQuantity,
'Could not close tab.' => couldNotCloseTab,
'Could not rename tab.' => couldNotRenameTab,
'Could not delete tab.' => couldNotDeleteTab,
'Could not reload tabs.' => couldNotReloadTabs,
'Could not load tab history.' => couldNotLoadHistory,
'Could not load more tabs.' => couldNotLoadMoreTabs,
+20
View File
@@ -82,6 +82,10 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get pinRequired => 'PIN vereist';
@override
String get autoLockOnExit =>
'Automatisch vergrendelen bij telefoonslot of afsluiten';
@override
String get changePin => 'PIN wijzigen';
@@ -219,9 +223,25 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get edit => 'Bewerken';
@override
String get editTab => 'Poef bewerken';
@override
String get close => 'Sluiten';
@override
String get deleteTab => 'Poef verwijderen?';
@override
String get deleteTabDescription =>
'Deze poef wordt definitief verwijderd en alle items worden terug aan de voorraad toegevoegd.';
@override
String get couldNotRenameTab => 'Poef kon niet worden hernoemd.';
@override
String get couldNotDeleteTab => 'Poef kon niet worden verwijderd.';
@override
String tabItemSummary(int count, String total) {
String _temp0 = intl.Intl.pluralLogic(
+6
View File
@@ -25,6 +25,7 @@
"settingsTitle": "Instellingen",
"security": "Beveiliging",
"pinRequired": "PIN vereist",
"autoLockOnExit": "Automatisch vergrendelen bij telefoonslot of afsluiten",
"changePin": "PIN wijzigen",
"appearance": "Uiterlijk",
"language": "Taal",
@@ -71,7 +72,12 @@
"selectOrOpenTab": "Selecteer of open een poef",
"noOpenTabs": "Geen open poefs",
"edit": "Bewerken",
"editTab": "Poef bewerken",
"close": "Sluiten",
"deleteTab": "Poef verwijderen?",
"deleteTabDescription": "Deze poef wordt definitief verwijderd en alle items worden terug aan de voorraad toegevoegd.",
"couldNotRenameTab": "Poef kon niet worden hernoemd.",
"couldNotDeleteTab": "Poef kon niet worden verwijderd.",
"tabItemSummary": "{count, plural, =1 {1 item - {total}} other {{count} items - {total}}}",
"@tabItemSummary": {"placeholders": {"count": {"type": "int"}, "total": {"type": "String"}}},
"tabItemCount": "{count, plural, =1 {1 item} other {{count} items}}",