mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-01-18 16:19:33 +00:00
change name to vaani
This commit is contained in:
parent
3f496c57c4
commit
d0f1f01dde
59 changed files with 244 additions and 239 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:flutter/foundation.dart' show immutable;
|
||||
import 'package:hive/hive.dart';
|
||||
import 'package:whispering_pages/settings/models/models.dart';
|
||||
import 'package:vaani/settings/models/models.dart';
|
||||
|
||||
@immutable
|
||||
class AvailableHiveBoxes {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
||||
import 'package:whispering_pages/settings/constants.dart';
|
||||
import 'package:vaani/settings/constants.dart';
|
||||
|
||||
final imageCacheManager = CacheManager(
|
||||
Config(
|
||||
|
|
|
|||
|
|
@ -6,14 +6,14 @@ import 'package:flutter/material.dart';
|
|||
import 'package:hive/hive.dart';
|
||||
import 'package:path/path.dart' as p;
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:whispering_pages/settings/constants.dart';
|
||||
import 'package:vaani/settings/constants.dart';
|
||||
|
||||
import 'register_models.dart';
|
||||
|
||||
Future initStorage() async {
|
||||
final dir = await getApplicationDocumentsDirectory();
|
||||
|
||||
// use whispering_pages as the directory for hive
|
||||
// use vaani as the directory for hive
|
||||
final storageDir = Directory(p.join(
|
||||
dir.path,
|
||||
AppMetadata.appNameLowerCase,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:hive/hive.dart';
|
||||
import 'package:whispering_pages/settings/models/models.dart';
|
||||
import 'package:vaani/settings/models/models.dart';
|
||||
|
||||
// register all models to Hive for serialization
|
||||
Future registerModels() async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue