Skip to content

feat: Add Afrezza (Technosphere) inhaled insulin support#4877

Open
CAPTCG wants to merge 12 commits into
nightscout:devfrom
CAPTCG:feat_afrezza_clean
Open

feat: Add Afrezza (Technosphere) inhaled insulin support#4877
CAPTCG wants to merge 12 commits into
nightscout:devfrom
CAPTCG:feat_afrezza_clean

fix: Resolve merge conflicts, remove Wear OS (separate PR), minimize …

0bb94b8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 9, 2026 in 3m 20s

Annotations

Check warning on line 118 in core/ui/src/main/kotlin/app/aaps/core/ui/compose/navigation/ElementTypeStyle.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the number of when branches from 45 to at most 30.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6KguWisynw1OJ1GdZv&open=AZ6KguWisynw1OJ1GdZv&pullRequest=4877

Check failure on line 105 in ui/src/main/kotlin/app/aaps/ui/compose/treatmentsSheet/TreatmentBottomSheet.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 52 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6KguXYsynw1OJ1GdZz&open=AZ6KguXYsynw1OJ1GdZz&pullRequest=4877

Check warning on line 1032 in app/src/main/kotlin/app/aaps/ComposeMainActivity.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the number of when branches from 40 to at most 30.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6KguYUsynw1OJ1GdZ0&open=AZ6KguYUsynw1OJ1GdZ0&pullRequest=4877

Check warning on line 174 in core/ui/src/main/kotlin/app/aaps/core/ui/compose/navigation/ElementTypeStyle.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the number of when branches from 48 to at most 30.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6KguWisynw1OJ1GdZw&open=AZ6KguWisynw1OJ1GdZw&pullRequest=4877

Check warning on line 225 in core/ui/src/main/kotlin/app/aaps/core/ui/compose/navigation/ElementTypeStyle.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the number of when branches from 37 to at most 30.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6KguWisynw1OJ1GdZx&open=AZ6KguWisynw1OJ1GdZx&pullRequest=4877

Check warning on line 187 in implementation/src/main/kotlin/app/aaps/implementation/userEntry/UserEntryPresentationHelperImpl.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the number of when branches from 84 to at most 30.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6uWvytR5sIYNjACwZW&open=AZ6uWvytR5sIYNjACwZW&pullRequest=4877

Check warning on line 99 in implementation/src/main/kotlin/app/aaps/implementation/userEntry/UserEntryPresentationHelperImpl.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the number of when branches from 84 to at most 30.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6uWvytR5sIYNjACwZV&open=AZ6uWvytR5sIYNjACwZV&pullRequest=4877

Check warning on line 105 in ui/src/main/kotlin/app/aaps/ui/compose/treatmentsSheet/TreatmentBottomSheet.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 13 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6KguXYsynw1OJ1GdZy&open=AZ6KguXYsynw1OJ1GdZy&pullRequest=4877