@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#if !arch(arm)
+
import SwiftUI
import CoreGraphics
@@ -191,3 +193,5 @@ private extension Font {
return CTFontManagerRegisterGraphicsFont(newFont, nil)
}
+#endif // !arch(arm)
import Foundation
// MARK: - Bundle Extensions
@@ -62,3 +64,5 @@ extension Bundle {
return bundle?.url(forResource: name, withExtension: ext)
/// A type retrieving the localized strings for the sign-in button text.
@@ -56,3 +58,5 @@ struct GoogleSignInButtonString {
return localizedString(key: wideButtonText, text: "No translation")
// MARK: - Sizing Constants
@@ -280,3 +282,5 @@ struct SwiftUIButtonStyle: ButtonStyle {
)
import Combine
/// A view model for the SwiftUI sign-in button publishing changes for the
@@ -47,3 +49,5 @@ public class GoogleSignInButtonViewModel: ObservableObject {
self.state = state