mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: init
This commit is contained in:
parent
9ce0f81a89
commit
034731a35f
@ -1,7 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_i18n/widgets/I18nText.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:revanced_manager/app/app.locator.dart';
|
||||
import 'package:revanced_manager/ui/views/root_checker/root_checker_viewmodel.dart';
|
||||
import 'package:revanced_manager/ui/widgets/magisk_button.dart';
|
||||
import 'package:stacked/stacked.dart';
|
||||
@ -14,7 +13,7 @@ class RootCheckerView extends StatelessWidget {
|
||||
return ViewModelBuilder<RootCheckerViewModel>.reactive(
|
||||
disposeViewModel: false,
|
||||
onModelReady: (model) => model.initialize,
|
||||
viewModelBuilder: () => locator<RootCheckerViewModel>(),
|
||||
viewModelBuilder: () => RootCheckerViewModel(),
|
||||
builder: (context, model, child) => Scaffold(
|
||||
floatingActionButton: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
|
Loading…
Reference in New Issue
Block a user