🚀 Launch 2.0.0+20
🐛 Bug fixes upload chat attachment to wrong pool 📝 Update desktop title bar text
This commit is contained in:
		| @@ -124,6 +124,7 @@ class AppMainContent extends StatelessWidget { | ||||
|     final th = context.watch<ThemeProvider>(); | ||||
|  | ||||
|     return MaterialApp.router( | ||||
|       debugShowCheckedModeBanner: false, | ||||
|       theme: th.theme?.light, | ||||
|       darkTheme: th.theme?.dark, | ||||
|       locale: context.locale, | ||||
|   | ||||
| @@ -346,6 +346,12 @@ class _HomeDashNotificationWidgetState extends State<_HomeDashNotificationWidget | ||||
|   int? _count; | ||||
|  | ||||
|   Future<void> _fetchNotificationCount() async { | ||||
|     final ua = context.read<UserProvider>(); | ||||
|     if (!ua.isAuthorized) { | ||||
|       setState(() => _count = 0); | ||||
|       return; | ||||
|     } | ||||
|  | ||||
|     final sn = context.read<SnNetworkProvider>(); | ||||
|     final resp = await sn.client.get('/cgi/id/notifications/count'); | ||||
|     _count = resp.data['count']; | ||||
|   | ||||
| @@ -79,7 +79,7 @@ class ChatMessageInputState extends State<ChatMessageInput> { | ||||
|         final place = await attach.chunkedUploadInitialize( | ||||
|           (await media.length())!, | ||||
|           media.name, | ||||
|           'interactive', | ||||
|           'messaging', | ||||
|           null, | ||||
|           mimetype: media.raw != null && media.type == PostWriteMediaType.image ? 'image/png' : null, | ||||
|         ); | ||||
|   | ||||
| @@ -118,7 +118,7 @@ class AppRootScaffold extends StatelessWidget { | ||||
|                     WindowTitleBarBox( | ||||
|                       child: MoveWindow( | ||||
|                         child: Text( | ||||
|                           'Solian', | ||||
|                           'Solar Network', | ||||
|                           style: GoogleFonts.spaceGrotesk(), | ||||
|                         ).padding(horizontal: 12, vertical: 5), | ||||
|                       ), | ||||
|   | ||||
| @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev | ||||
| # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html | ||||
| # In Windows, build-name is used as the major, minor, and patch parts | ||||
| # of the product and file versions while build-number is used as the build suffix. | ||||
| version: 2.0.0+19 | ||||
| version: 2.0.0+20 | ||||
|  | ||||
| environment: | ||||
|   sdk: ^3.5.4 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user