mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-11-27 22:09:10 +01:00
app: fit settings_screen under the line cap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2589c664ec
commit
624ae47cfd
@ -51,8 +51,7 @@ class SettingsScreen extends StatefulWidget {
|
|||||||
this.firebaseFactory,
|
this.firebaseFactory,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// Injectable HTTP client for the linked [GitHubMirrorScreen]; tests pass
|
/// HTTP client for the linked [GitHubMirrorScreen]; tests pass [MockClient].
|
||||||
/// a [MockClient].
|
|
||||||
final http.Client? httpClient;
|
final http.Client? httpClient;
|
||||||
|
|
||||||
/// Injectable battery-optimization-exemption request; tests pass a fake.
|
/// Injectable battery-optimization-exemption request; tests pass a fake.
|
||||||
@ -72,14 +71,10 @@ class SettingsScreen extends StatefulWidget {
|
|||||||
/// Reads the stored Firebase account. Injected for the same reason as
|
/// Reads the stored Firebase account. Injected for the same reason as
|
||||||
/// [googleFirebaseFactory]: the keystore is a platform channel.
|
/// [googleFirebaseFactory]: the keystore is a platform channel.
|
||||||
///
|
///
|
||||||
/// Deliberately backed by [storedAccount], not [loadAccount]: the shared
|
/// Backed by [storedAccount], not [loadAccount]: the shared screen reads
|
||||||
/// `SyncSettingsScreen` uses this single closure both to display the
|
/// the account back right after a Google sign-in, and [loadAccount]'s
|
||||||
/// status and to read back the account right after a Google sign-in.
|
/// desktop fallback throws on Android (seen on the phone as "Google sign-in
|
||||||
/// [loadAccount]'s desktop-wrapper fallback resolves to `file:///` on
|
/// failed"). See the keystore-only read in [firebase_backend.dart].
|
||||||
/// Android and throws -- verified on the phone, where it turned a
|
|
||||||
/// successful sign-in into "Google sign-in failed". `storedAccount` is the
|
|
||||||
/// keystore-only read [firebase_backend.dart] documents for exactly this
|
|
||||||
/// read-back case.
|
|
||||||
final Future<FirebaseAccount?> Function()? accountLoader;
|
final Future<FirebaseAccount?> Function()? accountLoader;
|
||||||
|
|
||||||
/// Persists the account. See [accountLoader].
|
/// Persists the account. See [accountLoader].
|
||||||
|
|||||||
@ -2,7 +2,7 @@ name: diet_guard_app
|
|||||||
description: "Companion phone app for diet_guard: log meals on the go."
|
description: "Companion phone app for diet_guard: log meals on the go."
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 1.0.191+1
|
version: 1.0.192+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.12.2
|
sdk: ^3.12.2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user