Skip to content

Commit

Permalink
- Added flutter_launcher_icons package;
Browse files Browse the repository at this point in the history
- Added new icon.
  • Loading branch information
plotsklapps committed Jul 14, 2023
1 parent bda88c6 commit 30319fb
Show file tree
Hide file tree
Showing 49 changed files with 245 additions and 108 deletions.
70 changes: 35 additions & 35 deletions .firebase/hosting.YnVpbGQvd2Vi.cache
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
favicon.png,1689321969758,bc61d7b6fb147376de227725039076a3b96af9b4ab6445e645dc61fad99d22d9
manifest.json,1689321969762,75ba472c5d0757110e14f875a4449745578123f014d2d5ab883a8f9657d43cc1
index.html,1689321969758,d24d558d7456eb3154dad4541d185abd22c4030b0a043608101b4790f2db6075
flutter_service_worker.js,1689321970690,394325d8e16e05b51fa4b874cdc4c48748be97c3e0a7c2fe6438d9bf1d5435b0
version.json,1689321966034,14343d48e326db3488725f65544bb1d0f9a82b78bdd65f6224b18b25116b9900
assets/AssetManifest.bin,1689321966270,f5d033794dd60a582c452dfe952e1074eef5468e4195d8d9a0b72c07d6fa4e74
assets/AssetManifest.json,1689321966270,f1483d5dab670b707bc4ff1b7152b54e48c53ce619b4210556952f6c172ab056
flutter.js,1689321881861,88f1dfd84d67e64038721e3d7dbe9bb9a716eb26a3da8b3f28d7f1717548779e
assets/FontManifest.json,1689321966270,d802c5900d0fe04223c6d000a5d108ffb0d39938a55b188dfd3ecc879f04cd2a
assets/packages/cupertino_icons/assets/CupertinoIcons.ttf,1689321969718,2c84e82a04f55fff57c170a51e1e904458ca6ddfba978cf5b6019c28e7331706
assets/fonts/MaterialIcons-Regular.otf,1689321969742,5a5a85923c5df731c843761acd17b6482750c6f549c8c37f70e2c979269126dc
assets/shaders/ink_sparkle.frag,1689321966682,60cfcda20789be21ae74e3105d1d37b0ab3b72e207b3a0a7f9c8f1fea11bdcbd
canvaskit/skwasm.worker.js,1689321881733,18bd90dafcdaa5c18107698b25d8694992d097b86dffae49ba3c394fcc555eab
icons/Icon-192.png,1689321969762,0966c457950641eb1185ae6829206e371c35e4e9c081f515fa055f65726139e4
icons/Icon-512.png,1689321969762,15ba6f76fbf68941784b974bb22328be9f3a7121861307c4d0c83ade6da3cb8a
icons/Icon-maskable-192.png,1689321969762,c2bc2780f66d9dc189e78b84594329d913ea6bf76620cdf91c9087b85b9dffb5
assets/packages/font_awesome_flutter/lib/fonts/fa-regular-400.ttf,1689321969730,61b9f8e2d9e8a04384913d200a83a3a65b7e2fca424605268ce549120f2b47c3
canvaskit/skwasm.js,1689321881749,36b2fe3a55da6aab92e7b6ebbbbe557aab800b6b1712fa33e2e2c6e7f82d31a7
icons/Icon-maskable-512.png,1689321969762,6afa714bf4222cc8f6d18df0e09ed4431535f50a755f606f6ae1361507ec1048
assets/assets/images/monthly_qr.png,1689321966250,36e958da0cc1df33b132fd5c3b2094fea486163ff22f9755a3b1450395e5ca9b
assets/assets/images/plotsklapps_straight.png,1689321966250,49d982df59713b9be311bfb772d6af7eede8f5f41eb8f1d2c3c014c2bb9a9361
assets/assets/images/onetime_qr.png,1689321966250,eb64c0d8c8b8d7803bedbc5bdbc32f065c9698b0683df82c1b4daf99a3b519ac
assets/assets/images/plotsklapps_icon.png,1689321966250,23e59b3015324a0d43accc643e3e3da92919d047777b8cc24b056aabc4b0ddcb
canvaskit/canvaskit.js,1689321881857,d8568f5004414a6b1bf53a3bf5b6694fc7405f5f6a74dc3c3d46f78e035628c1
canvaskit/chromium/canvaskit.js,1689321881801,26126fa2807abcac0c369c0fbada366e6d2b24ef368bf291c5e0503ca909ba5f
assets/assets/images/plotsklapps_stacked.png,1689321966250,26375062dcc148c152d76f5ce241992710d9b38829aaa863d5d47d0123084f31
assets/assets/images/loading_fireworks.gif,1689321966250,b159a842a58f16b132fd311fcffb1e6113462fe5dbf99941154491bb85df4507
assets/packages/font_awesome_flutter/lib/fonts/fa-brands-400.ttf,1689321969726,824e6afe73b4b064ebc17f1f93483daafa3ba30b8e2d089864fc31987652ad2f
assets/assets/images/spinner.png,1689321966250,b4f5af21b14a0fd41ae4f2a530eb99bef4e5f5ba549594fca4577d5d6fabeb6e
assets/packages/font_awesome_flutter/lib/fonts/fa-solid-900.ttf,1689321969742,e795d9a10a3adb623d6d6fc37ad30a0ee7ada62e44110b58845b9e94085faecd
assets/NOTICES,1689321966274,42a70a11ac4b4ace6ab2c82236c9af8f5923b80a28b1b26b1f51404d83934dce
main.dart.js,1689321966026,fe81401c0c20cebf7990a7b5dada81efddb3a71e27b9429d97924c8b20935b64
canvaskit/skwasm.wasm,1689321881809,fb14708cb145dd849853879843940b5fcf6d6e429bc1e0711e04b27e08480558
canvaskit/chromium/canvaskit.wasm,1689321881761,40b4c6e9594205edd7839205c07196b7f936230ddd3685a4e77ab0c1719e0122
canvaskit/canvaskit.wasm,1689321881749,47205a04ff8a28597cc6cd660166166987597cf79eb0da43883d3949e2ec3d03
favicon.png,1689326548060,bc61d7b6fb147376de227725039076a3b96af9b4ab6445e645dc61fad99d22d9
flutter_service_worker.js,1689326549644,51586d4a8147aba622aca9f2c8ec4e5a4b8b8dbc8d4c459833be9327b64bbd3c
manifest.json,1689326548068,75ba472c5d0757110e14f875a4449745578123f014d2d5ab883a8f9657d43cc1
index.html,1689326548060,8328872a1bf4c8f08a54e785e69e2c96eca4f5ede8e62f139476ee6ef04883d0
version.json,1689326544300,14343d48e326db3488725f65544bb1d0f9a82b78bdd65f6224b18b25116b9900
assets/AssetManifest.bin,1689326544556,f5d033794dd60a582c452dfe952e1074eef5468e4195d8d9a0b72c07d6fa4e74
assets/AssetManifest.json,1689326544556,f1483d5dab670b707bc4ff1b7152b54e48c53ce619b4210556952f6c172ab056
assets/FontManifest.json,1689326544556,d802c5900d0fe04223c6d000a5d108ffb0d39938a55b188dfd3ecc879f04cd2a
flutter.js,1689326455815,88f1dfd84d67e64038721e3d7dbe9bb9a716eb26a3da8b3f28d7f1717548779e
assets/packages/cupertino_icons/assets/CupertinoIcons.ttf,1689326548016,2c84e82a04f55fff57c170a51e1e904458ca6ddfba978cf5b6019c28e7331706
assets/fonts/MaterialIcons-Regular.otf,1689326548036,5a5a85923c5df731c843761acd17b6482750c6f549c8c37f70e2c979269126dc
assets/shaders/ink_sparkle.frag,1689326544948,60cfcda20789be21ae74e3105d1d37b0ab3b72e207b3a0a7f9c8f1fea11bdcbd
canvaskit/skwasm.worker.js,1689326455643,18bd90dafcdaa5c18107698b25d8694992d097b86dffae49ba3c394fcc555eab
icons/Icon-192.png,1689326548064,0966c457950641eb1185ae6829206e371c35e4e9c081f515fa055f65726139e4
icons/Icon-maskable-192.png,1689326548068,c2bc2780f66d9dc189e78b84594329d913ea6bf76620cdf91c9087b85b9dffb5
icons/Icon-512.png,1689326548064,15ba6f76fbf68941784b974bb22328be9f3a7121861307c4d0c83ade6da3cb8a
assets/packages/font_awesome_flutter/lib/fonts/fa-regular-400.ttf,1689326548024,61b9f8e2d9e8a04384913d200a83a3a65b7e2fca424605268ce549120f2b47c3
canvaskit/skwasm.js,1689326455699,36b2fe3a55da6aab92e7b6ebbbbe557aab800b6b1712fa33e2e2c6e7f82d31a7
icons/Icon-maskable-512.png,1689326548064,6afa714bf4222cc8f6d18df0e09ed4431535f50a755f606f6ae1361507ec1048
assets/assets/images/monthly_qr.png,1689326544532,36e958da0cc1df33b132fd5c3b2094fea486163ff22f9755a3b1450395e5ca9b
assets/assets/images/plotsklapps_icon.png,1689326544532,23e59b3015324a0d43accc643e3e3da92919d047777b8cc24b056aabc4b0ddcb
assets/assets/images/onetime_qr.png,1689326544532,eb64c0d8c8b8d7803bedbc5bdbc32f065c9698b0683df82c1b4daf99a3b519ac
assets/assets/images/plotsklapps_straight.png,1689326544532,49d982df59713b9be311bfb772d6af7eede8f5f41eb8f1d2c3c014c2bb9a9361
canvaskit/canvaskit.js,1689326455807,d8568f5004414a6b1bf53a3bf5b6694fc7405f5f6a74dc3c3d46f78e035628c1
canvaskit/chromium/canvaskit.js,1689326455759,26126fa2807abcac0c369c0fbada366e6d2b24ef368bf291c5e0503ca909ba5f
assets/assets/images/plotsklapps_stacked.png,1689326544532,26375062dcc148c152d76f5ce241992710d9b38829aaa863d5d47d0123084f31
assets/assets/images/loading_fireworks.gif,1689326544532,b159a842a58f16b132fd311fcffb1e6113462fe5dbf99941154491bb85df4507
assets/packages/font_awesome_flutter/lib/fonts/fa-brands-400.ttf,1689326548024,824e6afe73b4b064ebc17f1f93483daafa3ba30b8e2d089864fc31987652ad2f
assets/assets/images/spinner.png,1689326544532,b4f5af21b14a0fd41ae4f2a530eb99bef4e5f5ba549594fca4577d5d6fabeb6e
assets/packages/font_awesome_flutter/lib/fonts/fa-solid-900.ttf,1689326548036,e795d9a10a3adb623d6d6fc37ad30a0ee7ada62e44110b58845b9e94085faecd
assets/NOTICES,1689326544560,42a70a11ac4b4ace6ab2c82236c9af8f5923b80a28b1b26b1f51404d83934dce
main.dart.js,1689326544296,d13255f491df57534aae45788c3f6af02b07521f6ffe7ff5e25ca88014761e7d
canvaskit/skwasm.wasm,1689326455771,fb14708cb145dd849853879843940b5fcf6d6e429bc1e0711e04b27e08480558
canvaskit/chromium/canvaskit.wasm,1689326455719,40b4c6e9594205edd7839205c07196b7f936230ddd3685a4e77ab0c1719e0122
canvaskit/canvaskit.wasm,1689326455659,47205a04ff8a28597cc6cd660166166987597cf79eb0da43883d3949e2ec3d03
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/cosanostr_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions lib/all_imports.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export 'dart:convert';

export 'package:cosanostr/components/feedscreen_card.dart';
export 'package:cosanostr/components/feedscreen_fab.dart';
export 'package:cosanostr/components/joincosanostr_fab.dart';
export 'package:cosanostr/components/phone_container.dart';
export 'package:cosanostr/components/scaffold_appbar.dart';
export 'package:cosanostr/components/scaffold_drawer.dart';
Expand Down
23 changes: 23 additions & 0 deletions lib/components/joincosanostr_fab.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import 'package:cosanostr/all_imports.dart';

class JoinCosaNostrFAB extends ConsumerWidget {
const JoinCosaNostrFAB({super.key});

@override
Widget build(BuildContext context, WidgetRef ref) {
return FloatingActionButton.extended(
tooltip: 'Create new Keys',
label: const Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text('JOIN COSANOSTR'),
SizedBox(width: 8.0),
Icon(FontAwesomeIcons.circlePlus),
],
),
onPressed: () async {
await Dialogs().keysOptionDialog(context, ref);
},
);
}
}
19 changes: 16 additions & 3 deletions lib/components/scaffold_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,27 @@ class ScaffoldDrawer extends StatelessWidget {
return Drawer(
child: Column(
children: <Widget>[
const DrawerHeader(
DrawerHeader(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text('CosaNostr'),
Flexible(
fit: FlexFit.tight,
child: Image.asset(
'assets/images/cosanostr_icon.png',
),
),
const SizedBox(height: 8.0),
const Text(
'CosaNostr',
style: TextStyle(
fontWeight: FontWeight.bold,
),
),
const SizedBox(height: 8.0),
// Bump this version every time something insanely cool is
// added.
Text('Version: 0.0.1'),
const Text('Version: 0.0.1'),
],
),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/feed_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class FeedScreenState extends ConsumerState<FeedScreen> {
},
isNotePublishing: ref.watch(isNotePublishingProvider),
)
: Container(),
: const JoinCosaNostrFAB(),
);
}
}
132 changes: 66 additions & 66 deletions macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "app_icon_16.png",
"scale" : "1x"
"info": {
"version": 1,
"author": "xcode"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "app_icon_32.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "app_icon_32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "app_icon_64.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "app_icon_128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "app_icon_256.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "app_icon_256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "app_icon_512.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "app_icon_512.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "app_icon_1024.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
"images": [
{
"size": "16x16",
"idiom": "mac",
"filename": "app_icon_16.png",
"scale": "1x"
},
{
"size": "16x16",
"idiom": "mac",
"filename": "app_icon_32.png",
"scale": "2x"
},
{
"size": "32x32",
"idiom": "mac",
"filename": "app_icon_32.png",
"scale": "1x"
},
{
"size": "32x32",
"idiom": "mac",
"filename": "app_icon_64.png",
"scale": "2x"
},
{
"size": "128x128",
"idiom": "mac",
"filename": "app_icon_128.png",
"scale": "1x"
},
{
"size": "128x128",
"idiom": "mac",
"filename": "app_icon_256.png",
"scale": "2x"
},
{
"size": "256x256",
"idiom": "mac",
"filename": "app_icon_256.png",
"scale": "1x"
},
{
"size": "256x256",
"idiom": "mac",
"filename": "app_icon_512.png",
"scale": "2x"
},
{
"size": "512x512",
"idiom": "mac",
"filename": "app_icon_512.png",
"scale": "1x"
},
{
"size": "512x512",
"idiom": "mac",
"filename": "app_icon_1024.png",
"scale": "2x"
}
]
}
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
Loading

0 comments on commit 30319fb

Please sign in to comment.