π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Drop never-rendered iOS fonts and dead Android font files
Manav Rathibe6aad3823a1
diff --git a/mobile/native/android/apps/ensu/app/src/main/res/font/cormorant_garamond_variable.ttf b/mobile/native/android/apps/ensu/app/src/main/res/font/cormorant_garamond_variable.ttfdeleted file mode 100644index d992a83ce5..0000000000Binary files a/mobile/native/android/apps/ensu/app/src/main/res/font/cormorant_garamond_variable.ttf and /dev/null differdiff --git a/mobile/native/android/apps/ensu/app/src/main/res/font/sourceserif4_variable.ttf b/mobile/native/android/apps/ensu/app/src/main/res/font/sourceserif4_variable.ttfdeleted file mode 100644index 40bbb58cb5..0000000000Binary files a/mobile/native/android/apps/ensu/app/src/main/res/font/sourceserif4_variable.ttf and /dev/null differdiff --git a/mobile/native/apple/apps/ensu/Ensu/DesignSystem/EnsuTheme.swift b/mobile/native/apple/apps/ensu/Ensu/DesignSystem/EnsuTheme.swiftindex 6c0495bf79..81ab92defa 100644--- a/mobile/native/apple/apps/ensu/Ensu/DesignSystem/EnsuTheme.swift+++ b/mobile/native/apple/apps/ensu/Ensu/DesignSystem/EnsuTheme.swift@@ -2,11 +2,9 @@ import SwiftUI#if canImport(UIKit)import UIKittypealias PlatformColor = UIColor-typealias PlatformFont = UIFont#elseif canImport(AppKit)import AppKittypealias PlatformColor = NSColor-typealias PlatformFont = NSFont#endifenum EnsuColor {@@ -88,11 +86,11 @@ enum EnsuTypography {enum EnsuFont {static func serif(size: CGFloat, weight: Font.Weight) -> Font {- font(named: serifName(for: weight), size: size, fallbackDesign: .serif, weight: weight)+ .system(size: size, weight: weight, design: .serif)}static func ui(size: CGFloat, weight: Font.Weight) -> Font {- font(named: uiName(for: weight), size: size, fallbackDesign: .default, weight: weight)+ .system(size: size, weight: weight, design: .default)}static func message(size: CGFloat, weight: Font.Weight) -> Font {@@ -100,33 +98,8 @@ enum EnsuFont {}static func code(size: CGFloat, weight: Font.Weight) -> Font {- font(named: "JetBrainsMono-Regular", size: size, fallbackDesign: .monospaced, weight: weight)+ .system(size: size, weight: weight, design: .monospaced)}-- private static func font(named name: String, size: CGFloat, fallbackDesign: Font.Design, weight: Font.Weight) -> Font {- if PlatformFont(name: name, size: size) != nil {- return .custom(name, size: size)- }- return .system(size: size, weight: weight, design: fallbackDesign)- }-- private static func serifName(for weight: Font.Weight) -> String {- "DMSerifText-Regular"- }-- private static func uiName(for weight: Font.Weight) -> String {- switch weight {- case .bold:- return "Inter-Bold"- case .semibold:- return "Inter-SemiBold"- case .medium:- return "Inter-Medium"- default:- return "Inter-Regular"- }- }-}extension Color {diff --git a/mobile/native/apple/apps/ensu/Ensu/Fonts/DMSerifText-Regular.ttf b/mobile/native/apple/apps/ensu/Ensu/Fonts/DMSerifText-Regular.ttfdeleted file mode 100644index a8adbe2a9b..0000000000Binary files a/mobile/native/apple/apps/ensu/Ensu/Fonts/DMSerifText-Regular.ttf and /dev/null differdiff --git a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Bold.ttf b/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Bold.ttfdeleted file mode 100644index 7e1deec31e..0000000000Binary files a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Bold.ttf and /dev/null differdiff --git a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Medium.ttf b/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Medium.ttfdeleted file mode 100644index 7e573f6498..0000000000Binary files a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Medium.ttf and /dev/null differdiff --git a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Regular.ttf b/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Regular.ttfdeleted file mode 100644index 012d1b470d..0000000000Binary files a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-Regular.ttf and /dev/null differdiff --git a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-SemiBold.ttf b/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-SemiBold.ttfdeleted file mode 100644index 4be54399d6..0000000000Binary files a/mobile/native/apple/apps/ensu/Ensu/Fonts/Inter-SemiBold.ttf and /dev/null differdiff --git a/mobile/native/apple/apps/ensu/Ensu/Fonts/JetBrainsMono-Regular.ttf b/mobile/native/apple/apps/ensu/Ensu/Fonts/JetBrainsMono-Regular.ttfdeleted file mode 100644index 711830ede0..0000000000Binary files a/mobile/native/apple/apps/ensu/Ensu/Fonts/JetBrainsMono-Regular.ttf and /dev/null differdiff --git a/mobile/native/apple/apps/ensu/Ensu/Info.plist b/mobile/native/apple/apps/ensu/Ensu/Info.plistindex b408416745..ca8302ae97 100644--- a/mobile/native/apple/apps/ensu/Ensu/Info.plist+++ b/mobile/native/apple/apps/ensu/Ensu/Info.plist@@ -41,16 +41,6 @@</dict></array>- <key>UIAppFonts</key>- <array>- <string>Fonts/Inter-Regular.ttf</string>- <string>Fonts/Inter-Medium.ttf</string>- <string>Fonts/Inter-SemiBold.ttf</string>- <string>Fonts/Inter-Bold.ttf</string>- <string>Fonts/DMSerifText-Regular.ttf</string>- <string>Fonts/JetBrainsMono-Regular.ttf</string>- </array>-<key>NSPhotoLibraryUsageDescription</key><string>Allow access to select photos and images to attach to chat messages.</string>