Merge upstream/dev (86 commits) into tth
Upstream redesigned the chat composer (bubble, round +/send button, ChatComposerQuote for the reply preview); our terminal theme had tweaked the old layout. Took upstream's structure and re-applied the terminal look to the new widgets: compact panel padding, square bubble, square button, square and one-line-low reply quote. The terminal reply padding in channel_chat_screen now lives in ChatComposerQuote, so DMs get it too. Also fixed for the merge: - mesh_ui: AvatarCircle uses upstream's avatarInitials() (nullable); the terminal glyph falls back to the person icon like upstream does; - chat_screen: upstream split maxMessageRetries into direct/flood limits, the terminal line now shows the bubble's maxSendAttempts; - test/screens/copy_messages_test.dart: the 1x1 PNG had a bad IDAT CRC. Its async decode failure leaked into the next test; upstream's real flutter_langdetect hides that by timing, our stub (instant init) does not, so the DM test failed ~3 of 5 runs. Replaced with a valid PNG. Checked in the CI image (Flutter 3.47.9): flutter analyze lib test clean; flutter test all green except settings_reveal_test "hides Image Messages sub-options", which fails the same way on plain upstream/dev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
63907cb17d
210 files changed
+47623
-4900
No files matched your search
@@ -14,6 +14,7 @@ import '../widgets/adaptive_app_bar_title.dart';
|
||||
import '../widgets/device_tile.dart';
|
||||
import '../widgets/empty_state.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/settings_reveal.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
import '../review_mode/review_mode_entry.dart';
|
||||
import '../utils/main_navigation.dart';
|
||||
@@ -150,17 +151,13 @@ class _ScannerScreenState extends State<ScannerScreen> {
|
||||
builder: (context, connector, child) {
|
||||
return Column(
|
||||
children: [
|
||||
// Bluetooth off warning — slides in/out with AnimatedSize
|
||||
AnimatedSize(
|
||||
duration: const Duration(milliseconds: 250),
|
||||
curve: Curves.easeInOut,
|
||||
child: _bluetoothState == BluetoothAdapterState.off
|
||||
? _BluetoothOffBanner(
|
||||
onEnable: PlatformInfo.isAndroid
|
||||
? () => FlutterBluePlus.turnOn()
|
||||
: null,
|
||||
)
|
||||
: const SizedBox.shrink(),
|
||||
RevealOnEnable(
|
||||
visible: _bluetoothState == BluetoothAdapterState.off,
|
||||
child: _BluetoothOffBanner(
|
||||
onEnable: PlatformInfo.isAndroid
|
||||
? () => FlutterBluePlus.turnOn()
|
||||
: null,
|
||||
),
|
||||
),
|
||||
|
||||
// Connection status header
|
||||
|
||||
Reference in new issue
Block a user