mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 21:07:15 +01:00
lyricanki's Linux desktop cannot use google_sign_in (no Linux implementation) and its loopback replacement is dark until a Desktop OAuth client exists. Hiding the button there makes the screen silently offer less on one platform, which reads as a bug. googleUnavailableReason renders a *disabled* button plus the reason. That is not the "control that can never succeed" trap: the trap is a live-looking button that reports a fake cancellation, and a null onPressed cannot be tapped at all. Null stays the default, so every existing host is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CFSGeWxHPY5rHUGrPqhcmG
28 lines
600 B
YAML
28 lines
600 B
YAML
name: sync_settings_ui
|
|
description: >-
|
|
Shared "Sync settings" screen (Firebase primary, optional local backup)
|
|
reused across kuhy's Flutter apps. Pure UI + sync service layer over
|
|
injected closures -- no keystore or platform plugin access lives in this
|
|
package itself.
|
|
publish_to: 'none'
|
|
version: 0.3.0
|
|
|
|
environment:
|
|
sdk: ^3.12.2
|
|
|
|
dependencies:
|
|
crdt_sync:
|
|
git:
|
|
url: https://github.com/kuhyx/utils
|
|
ref: crdt_sync_dart-v0.11.0
|
|
path: crdt_sync_dart
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
very_good_analysis: ^10.2.0
|
|
|
|
flutter:
|