From 84a8cb1a0eeef63ab6a73c156fe05abaea4628ff Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 11 Feb 2018 18:58:01 -0800 Subject: [PATCH] Punt font size till after 1.0. --- Evergreen/AppDefaults.swift | 19 +-- Evergreen/Base.lproj/Preferences.storyboard | 130 ++------------------ 2 files changed, 19 insertions(+), 130 deletions(-) diff --git a/Evergreen/AppDefaults.swift b/Evergreen/AppDefaults.swift index 79fa7f561..6841b0b61 100644 --- a/Evergreen/AppDefaults.swift +++ b/Evergreen/AppDefaults.swift @@ -135,14 +135,17 @@ private extension AppDefaults { func fontSize(for key: String) -> FontSize { - var rawFontSize = int(for: key) - if rawFontSize < smallestFontSizeRawValue { - rawFontSize = smallestFontSizeRawValue - } - if rawFontSize > largestFontSizeRawValue { - rawFontSize = largestFontSizeRawValue - } - return FontSize(rawValue: rawFontSize)! + // Punted till after 1.0. + return .medium + +// var rawFontSize = int(for: key) +// if rawFontSize < smallestFontSizeRawValue { +// rawFontSize = smallestFontSizeRawValue +// } +// if rawFontSize > largestFontSizeRawValue { +// rawFontSize = largestFontSizeRawValue +// } +// return FontSize(rawValue: rawFontSize)! } func setFontSize(for key: String, _ fontSize: FontSize) { diff --git a/Evergreen/Base.lproj/Preferences.storyboard b/Evergreen/Base.lproj/Preferences.storyboard index 0ede97a0b..7db1ae995 100644 --- a/Evergreen/Base.lproj/Preferences.storyboard +++ b/Evergreen/Base.lproj/Preferences.storyboard @@ -1,7 +1,7 @@ - + - + @@ -31,11 +31,11 @@ - + - + @@ -44,7 +44,7 @@ - + @@ -64,7 +64,7 @@ - + @@ -73,7 +73,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +