From 5a6732495d13a7282bf488616d5f7d3ed7607fa9 Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Wed, 31 Jul 2024 15:06:30 -0700 Subject: [PATCH] Increase maximum history size to 9999 --- Maccy/Settings/StorageSettingsPane.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Maccy/Settings/StorageSettingsPane.swift b/Maccy/Settings/StorageSettingsPane.swift index 7dfc85bc..f7053921 100644 --- a/Maccy/Settings/StorageSettingsPane.swift +++ b/Maccy/Settings/StorageSettingsPane.swift @@ -66,7 +66,7 @@ struct StorageSettingsPane: View { private let sizeFormatter: NumberFormatter = { let formatter = NumberFormatter() formatter.minimum = 1 - formatter.maximum = 999 + formatter.maximum = 9999 return formatter }() @@ -97,7 +97,7 @@ struct StorageSettingsPane: View { TextField("", value: $size, formatter: sizeFormatter) .frame(width: 80) .help(Text("SizeTooltip", tableName: "StorageSettings")) - Stepper("", value: $size, in: 1...999) + Stepper("", value: $size, in: 1...9999) .labelsHidden() } }