commit 909b4676ab1c65a9acdc7fd0e3f8f351df63a0fb
parent 0c8d9f2eea6c01d4d1bfcbc13b46aa8942ae4470
Author: Jean Schurger <jean@schurger.org>
Date: Fri, 13 Nov 2026 15:32:01 -0500
0.12: dry run removed from the screen, "Simulate a housing" button visible
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K7deYGSNhtY1AmBH7DQGNs
Diffstat:
3 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/OpenMerou/UI/CameraScreen.swift b/OpenMerou/UI/CameraScreen.swift
@@ -57,13 +57,14 @@ struct CameraScreen: View {
Label("Autorisation refusée : \(item). Réglages → Open Mérou.", systemImage: "exclamationmark.triangle.fill")
.font(.footnote).foregroundStyle(.orange)
}
- if housing.vacuum.step == .prepare {
- Button("Essai à sec (sans mise sous vide)") { housing.bypassVacuum() }
- .font(.footnote).padding(.top, 4)
- if !housing.simulated {
- Button("Simuler un boîtier (démonstration)") { housing.startSimulation() }
- .font(.footnote)
+ if housing.vacuum.step == .prepare, !housing.simulated {
+ Button { housing.startSimulation() } label: {
+ Label("Simuler un boîtier", systemImage: "play.rectangle.fill")
}
+ .buttonStyle(.borderedProminent)
+ .tint(.yellow)
+ .foregroundStyle(.black)
+ .padding(.top, 4)
}
Text(housing.status.label).font(.footnote).foregroundStyle(.secondary)
}
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
@@ -122,9 +122,9 @@ platform :ios do
end
texts = {
"fr-CA" => ["App libre et gratuite pour boîtier de plongée compatible : boutons, pompe à vide, capteurs, caméra.",
- "0.11 : Menu → Informations (remplace le bouton ⓘ sous l'eau) ; menu compact qui défile (lisible en paysage) ; batteries du boîtier et de l'iPhone affichées séparément ; toutes les autorisations (caméra, micro, photothèque) demandées au lancement, avant de fermer le boîtier. Correction des couleurs par le capteur. Réglages → Couleurs : iPhone, sous l'eau automatique (par défaut), ou calibrées. Appui long sur le bouton bas : calibrer sur ce que l'on vise (sable, ardoise blanche). Témoin « ROUGE MAX » quand le capteur est au bout de sa correction. À essayer dans l'eau avec le mode développement."],
+ "0.12 : « Essai à sec » retiré, « Simuler un boîtier » est un vrai bouton. Menu → Informations (remplace le bouton ⓘ sous l'eau) ; menu compact qui défile (lisible en paysage) ; batteries du boîtier et de l'iPhone affichées séparément ; toutes les autorisations (caméra, micro, photothèque) demandées au lancement, avant de fermer le boîtier. Correction des couleurs par le capteur. Réglages → Couleurs : iPhone, sous l'eau automatique (par défaut), ou calibrées. Appui long sur le bouton bas : calibrer sur ce que l'on vise (sable, ardoise blanche). Témoin « ROUGE MAX » quand le capteur est au bout de sa correction. À essayer dans l'eau avec le mode développement."],
"en-CA" => ["Free, open-source app for compatible dive housings: buttons, vacuum pump, sensors, camera.",
- "0.11: Menu → Information (replaces the ⓘ button underwater); compact scrolling menu (readable in landscape); housing and iPhone batteries shown separately; all permissions (camera, microphone, photo library) requested at launch, before closing the housing. On-sensor color correction. Settings → Colors: iPhone, underwater automatic (default), or calibrated. Long press on the down button: calibrate on what you aim at (sand, white slate). RED MAX indicator when the sensor reaches its limit. Please try in water with developer mode on."],
+ "0.12: Dry run removed, Simulate a housing is now a proper button. Menu → Information (replaces the ⓘ button underwater); compact scrolling menu (readable in landscape); housing and iPhone batteries shown separately; all permissions (camera, microphone, photo library) requested at launch, before closing the housing. On-sensor color correction. Settings → Colors: iPhone, underwater automatic (default), or calibrated. Long press on the down button: calibrate on what you aim at (sand, white slate). RED MAX indicator when the sensor reaches its limit. Please try in water with developer mode on."],
}
_, locs = asc(:get, "/v1/apps/#{app.id}/betaAppLocalizations")
texts.each do |locale, (description, _)|
diff --git a/project.yml b/project.yml
@@ -9,7 +9,7 @@ settings:
base:
DEVELOPMENT_TEAM: CM5RQKJH56
CODE_SIGN_STYLE: Automatic
- MARKETING_VERSION: "0.11"
+ MARKETING_VERSION: "0.12"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "6.0"
targets: