Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bitassets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: bitassets
description: UI for Drivechain (BIP300/301) based sidechains
publish_to: "none" # Remove this line if you wish to publish to pub.dev

version: 1.0.398
version: 1.0.399

environment:
sdk: 3.13.7
Expand Down
2 changes: 1 addition & 1 deletion bitnames/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: bitnames
description: UI for Drivechain (BIP300/301) based sidechains
publish_to: "none" # Remove this line if you wish to publish to pub.dev

version: 1.0.399
version: 1.0.400

environment:
sdk: 3.13.7
Expand Down
14 changes: 14 additions & 0 deletions bitwindow/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import 'package:bitwindow/widgets/address_list.dart';
import 'package:bitwindow/widgets/backend_swap.dart';
import 'package:bitwindow/widgets/datadir_network_notice.dart';
import 'package:bitwindow/widgets/ecash_upgrade_banner.dart';
import 'package:bitwindow/widgets/coinnews_window.dart';
import 'package:bitwindow/widgets/converter_window.dart';
import 'package:bitwindow/widgets/hash_calculator_modal.dart';
// App shell needs MaterialApp + ThemeData; Colors/Scaffold serve the
Expand Down Expand Up @@ -816,6 +817,9 @@ const _subWindowAccent = Color.fromARGB(255, 255, 153, 0);
case SubWindowTypes.bitDriveId:
child = const BitDriveTab();
break;
case SubWindowTypes.coinNewsId:
child = CoinNewsWindow(story: arguments['story'] as String?);
break;
}

return (title: '$windowTitle | Bitwindow', child: child, work: work);
Expand Down Expand Up @@ -1631,6 +1635,14 @@ class SubWindowTypes {
defaultSize: Size(1000, 700),
defaultPosition: Offset(150, 150),
);

static const String coinNewsId = 'coin_news';
static var coinNews = SailWindow(
identifier: coinNewsId,
name: 'Coin News',
defaultSize: Size(760, 720),
defaultPosition: Offset(200, 120),
);
}

List<Binary> initalBinaries() {
Expand Down Expand Up @@ -1704,6 +1716,8 @@ Widget inAppWindowPage(
return const MultisigLoungeTab();
case SubWindowTypes.bitDriveId:
return const BitDriveTab();
case SubWindowTypes.coinNewsId:
return CoinNewsWindow(story: arguments['story'] as String?);
}
return SailCard(
title: 'Unknown window type: $windowType',
Expand Down
Loading
Loading