🚀 Launch 2.0.0+20
🐛 Bug fixes upload chat attachment to wrong pool 📝 Update desktop title bar text
This commit is contained in:
parent
1980843ac0
commit
a9ca8d36bc
@ -124,6 +124,7 @@ class AppMainContent extends StatelessWidget {
|
|||||||
final th = context.watch<ThemeProvider>();
|
final th = context.watch<ThemeProvider>();
|
||||||
|
|
||||||
return MaterialApp.router(
|
return MaterialApp.router(
|
||||||
|
debugShowCheckedModeBanner: false,
|
||||||
theme: th.theme?.light,
|
theme: th.theme?.light,
|
||||||
darkTheme: th.theme?.dark,
|
darkTheme: th.theme?.dark,
|
||||||
locale: context.locale,
|
locale: context.locale,
|
||||||
|
@ -346,6 +346,12 @@ class _HomeDashNotificationWidgetState extends State<_HomeDashNotificationWidget
|
|||||||
int? _count;
|
int? _count;
|
||||||
|
|
||||||
Future<void> _fetchNotificationCount() async {
|
Future<void> _fetchNotificationCount() async {
|
||||||
|
final ua = context.read<UserProvider>();
|
||||||
|
if (!ua.isAuthorized) {
|
||||||
|
setState(() => _count = 0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
final sn = context.read<SnNetworkProvider>();
|
final sn = context.read<SnNetworkProvider>();
|
||||||
final resp = await sn.client.get('/cgi/id/notifications/count');
|
final resp = await sn.client.get('/cgi/id/notifications/count');
|
||||||
_count = resp.data['count'];
|
_count = resp.data['count'];
|
||||||
|
@ -79,7 +79,7 @@ class ChatMessageInputState extends State<ChatMessageInput> {
|
|||||||
final place = await attach.chunkedUploadInitialize(
|
final place = await attach.chunkedUploadInitialize(
|
||||||
(await media.length())!,
|
(await media.length())!,
|
||||||
media.name,
|
media.name,
|
||||||
'interactive',
|
'messaging',
|
||||||
null,
|
null,
|
||||||
mimetype: media.raw != null && media.type == PostWriteMediaType.image ? 'image/png' : null,
|
mimetype: media.raw != null && media.type == PostWriteMediaType.image ? 'image/png' : null,
|
||||||
);
|
);
|
||||||
|
@ -118,7 +118,7 @@ class AppRootScaffold extends StatelessWidget {
|
|||||||
WindowTitleBarBox(
|
WindowTitleBarBox(
|
||||||
child: MoveWindow(
|
child: MoveWindow(
|
||||||
child: Text(
|
child: Text(
|
||||||
'Solian',
|
'Solar Network',
|
||||||
style: GoogleFonts.spaceGrotesk(),
|
style: GoogleFonts.spaceGrotesk(),
|
||||||
).padding(horizontal: 12, vertical: 5),
|
).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
|
# 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
|
# 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.
|
# 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:
|
environment:
|
||||||
sdk: ^3.5.4
|
sdk: ^3.5.4
|
||||||
|
Loading…
Reference in New Issue
Block a user