Rename asset to sample_data.json

pull/13/head
singerdmx 4 years ago
parent 530a494e9e
commit bb1e50474d
  1. 0
      app/assets/sample_data.json
  2. 2
      app/lib/pages/home_page.dart

@ -29,7 +29,7 @@ class _HomePageState extends State<HomePage> {
Future<void> _loadFromAssets() async {
try {
final result = await rootBundle.loadString('assets/welcome.note');
final result = await rootBundle.loadString('assets/sample_data.json');
final doc = Document.fromJson(jsonDecode(result));
setState(() {
_controller = QuillController(

Loading…
Cancel
Save