mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
Require "preferences" plugin
This commit is contained in:
@ -1,10 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:preferences/preferences.dart';
|
||||
|
||||
import 'settings.dart';
|
||||
import 'api.dart';
|
||||
import 'preferences.dart';
|
||||
|
||||
void main() => runApp(MyApp());
|
||||
void main() async {
|
||||
|
||||
await PrefService.init(prefix: "inventree_");
|
||||
|
||||
runApp(MyApp());
|
||||
}
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
// This widget is the root of your application.
|
||||
|
Reference in New Issue
Block a user