🚀 Launch 2.0.0+8
🐛 Bug fixes on background color
			
			
This commit is contained in:
		| @@ -230,7 +230,9 @@ final _appRoutes = [ | ||||
|       GoRoute( | ||||
|         path: '/settings', | ||||
|         name: 'settings', | ||||
|         builder: (context, state) => const SettingsScreen(), | ||||
|         builder: (context, state) => const AppBackground( | ||||
|           child: SettingsScreen(), | ||||
|         ), | ||||
|       ), | ||||
|     ], | ||||
|   ), | ||||
|   | ||||
| @@ -106,10 +106,9 @@ class _ChatRoomScreenState extends State<ChatRoomScreen> { | ||||
|  | ||||
|     try { | ||||
|       final sn = context.read<SnNetworkProvider>(); | ||||
|       final resp = await sn.client.delete( | ||||
|       await sn.client.delete( | ||||
|         '/cgi/im/channels/${_messageController.channel!.keyPath}/calls/ongoing', | ||||
|       ); | ||||
|       log(jsonDecode(resp.data)); | ||||
|     } catch (err) { | ||||
|       if (!mounted) return; | ||||
|       context.showErrorDialog(err); | ||||
|   | ||||
| @@ -82,17 +82,12 @@ class AppBackground extends StatelessWidget { | ||||
|         builder: (context, snapshot) { | ||||
|           if (isRoot || | ||||
|               ResponsiveBreakpoints.of(context).smallerOrEqualTo(MOBILE)) { | ||||
|             if (snapshot.hasData && isRoot) { | ||||
|             if (snapshot.hasData) { | ||||
|               final path = '${snapshot.data!.path}/app_background_image'; | ||||
|               final file = File(path); | ||||
|               if (file.existsSync()) { | ||||
|                 return _buildWithBackgroundImage(context, file, child); | ||||
|               } | ||||
|             } else { | ||||
|               return Material( | ||||
|                 color: Theme.of(context).colorScheme.surface, | ||||
|                 child: child, | ||||
|               ); | ||||
|             } | ||||
|           } | ||||
|  | ||||
|   | ||||
| @@ -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+7 | ||||
| version: 2.0.0+8 | ||||
|  | ||||
| environment: | ||||
|   sdk: ^3.5.4 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user