feat: add app update checks and standalone release publishing panel
This commit is contained in:
@@ -7,6 +7,7 @@ import 'package:timezone/data/latest.dart' as tzdata;
|
||||
import 'app/app_controller.dart';
|
||||
import 'app/app_version.dart';
|
||||
import 'services/diagnostic_log.dart';
|
||||
import 'services/app_update_service.dart';
|
||||
import 'app/hepan_app.dart';
|
||||
import 'app/tp_startup.dart';
|
||||
import 'data/file_snapshot_store.dart';
|
||||
@@ -22,11 +23,13 @@ Widget buildApplication(
|
||||
ValueNotifier<String?>? notificationSelection,
|
||||
SchoolSession? school,
|
||||
UndergraduateSession? undergraduate,
|
||||
AppUpdateService? updateService,
|
||||
}) => HepanApp(
|
||||
controller: controller,
|
||||
notificationSelection: notificationSelection,
|
||||
school: school,
|
||||
undergraduate: undergraduate,
|
||||
updateService: updateService,
|
||||
undergraduateBuilder: undergraduate == null
|
||||
? null
|
||||
: () => UndergraduateAuthPage(
|
||||
@@ -63,6 +66,7 @@ Future<void> main() async {
|
||||
notificationSelection: selection,
|
||||
school: SchoolSession(),
|
||||
undergraduate: UndergraduateSession(),
|
||||
updateService: AppUpdateService(),
|
||||
);
|
||||
},
|
||||
onHomeReady: () {
|
||||
|
||||
Reference in New Issue
Block a user