mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-20 02:59:26 +01:00
fix: Hotfix database migration
This commit is contained in:
parent
585e3ca6da
commit
f08a683000
@ -81,7 +81,11 @@ class FlutterFluffyBoxDatabase extends FluffyBoxDatabase {
|
|||||||
if (!kIsWeb) {
|
if (!kIsWeb) {
|
||||||
Directory directory;
|
Directory directory;
|
||||||
try {
|
try {
|
||||||
|
if (Platform.isLinux) {
|
||||||
directory = await getApplicationSupportDirectory();
|
directory = await getApplicationSupportDirectory();
|
||||||
|
} else {
|
||||||
|
directory = await getApplicationDocumentsDirectory();
|
||||||
|
}
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
try {
|
try {
|
||||||
directory = await getLibraryDirectory();
|
directory = await getLibraryDirectory();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: fluffychat
|
name: fluffychat
|
||||||
description: Chat with your friends.
|
description: Chat with your friends.
|
||||||
publish_to: none
|
publish_to: none
|
||||||
version: 1.0.0+1772
|
version: 1.0.1+1773
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.11.0 <3.0.0"
|
sdk: ">=2.11.0 <3.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user