More improvements upon checkup page
This commit is contained in:
parent
6044b787d5
commit
e562216658
2 changed files with 2 additions and 4 deletions
|
|
@ -37,7 +37,7 @@ class MainApp extends StatelessWidget {
|
||||||
return GetMaterialApp(
|
return GetMaterialApp(
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
debugShowMaterialGrid: false,
|
debugShowMaterialGrid: false,
|
||||||
initialRoute: "/login",
|
initialRoute: "/",
|
||||||
onGenerateRoute: _onGenerateRoute,
|
onGenerateRoute: _onGenerateRoute,
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,7 @@ class CheckupPageController extends GetxController {
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
final resp =
|
final resp =
|
||||||
await ApiController.to.apiClient.listTablesApiListTablesGet(
|
await ApiController.to.apiClient.listTablesApiListTablesGet();
|
||||||
accessToken: ApiController.to.token,
|
|
||||||
);
|
|
||||||
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
if (resp.statusCode == 200) {
|
if (resp.statusCode == 200) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue