From 034731a35ffb26633abc2e2a5cb94aa911642c3b Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Sun, 14 Aug 2022 20:16:08 +0100 Subject: [PATCH] fix: init --- lib/ui/views/root_checker/root_checker_view.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ui/views/root_checker/root_checker_view.dart b/lib/ui/views/root_checker/root_checker_view.dart index 40b48b78..73f0763c 100644 --- a/lib/ui/views/root_checker/root_checker_view.dart +++ b/lib/ui/views/root_checker/root_checker_view.dart @@ -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.reactive( disposeViewModel: false, onModelReady: (model) => model.initialize, - viewModelBuilder: () => locator(), + viewModelBuilder: () => RootCheckerViewModel(), builder: (context, model, child) => Scaffold( floatingActionButton: Column( mainAxisAlignment: MainAxisAlignment.end,