Skip to content

Releases: Passiolife/Passio-Nutrition-AI-iOS-UI-Module-Distribution

1.0.9

29 Jan 10:03

Choose a tag to compare

This release includes following bug fixes:

  • Logging from favourites was replaced in diary
  • Meal plans tab - data not loading at first
  • In some cases, food were logged but colour for those calendar dates were not green
  • Quick Suggestions food name not capitalised

1.0.8

28 Nov 12:17

Choose a tag to compare

  • UI enhancements
  • Minor bug fixes

1.0.7

11 Nov 12:05

Choose a tag to compare

  • From weekly/monthly adherence, user can jump to Diary for specific date
  • Bug fixes and enhancements

PassioConnector changes:

Following methods have been added to PassioConnector:

  • func fetchDayLogFor(fromDate: Date, toDate: Date, completion: @escaping ([DayLog]) -> Void)
  • func fetchAllUserFoodsMatching(name: String, completion: @escaping ([FoodRecordV3]) -> Void)

1.0.6

07 Oct 14:46

Choose a tag to compare

  • Fixed issue where view was not presenting if Scene delegate is used
  • Fixed reference related issues

1.0.5

04 Oct 16:59

Choose a tag to compare

  • Advisor chat module
  • User profile / Setting bug fixes

1.0.4

09 Jul 10:32

Choose a tag to compare

1.0.4

  • You can fully modify the colors of the PassioNutritionUI module, including the primary, secondary, navigation, and status bar.

1.0.3

05 Jul 07:38

Choose a tag to compare

1.0.3

  • Added functionality for changing UI module theme.

How to use:

  • In your AppDelegate.swift file go to the didFinishLaunchingWithOptions function and add below code.
func application(_ application: UIApplication, didFinishLaunchingWithOptions
                     launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        setThemeAndNavigationAppearance()
        return true
}

private func setThemeAndNavigationAppearance() {

        PassioThemeManager.shared.setAppTheme(
            theme: PassioTheme(
                primaryColor: "#FF5600",
                secondaryTabColor: "#D1D5DB",
                navigationColor: "#f0e6ff",
                statusBarColor: "#f0e6ff"
            )
        )

        let appearance = UINavigationBarAppearance()
        appearance.configureWithTransparentBackground()
        appearance.backgroundColor = .navigationColor
        appearance.titleTextAttributes = [.font: UIFont.inter(type: .bold, size: 22),
                                          .foregroundColor: UIColor.gray900]
        UINavigationBar.appearance().standardAppearance = appearance
        UINavigationBar.appearance().scrollEdgeAppearance = appearance
        UINavigationBar.appearance().compactAppearance = appearance
}

1.0.1

14 Jun 09:35

Choose a tag to compare

  • Added ReadMe
  • Minor code cleanup

1.0.0

04 Jun 11:14

Choose a tag to compare

First version of Nutrition UI module as a Swift Package