mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 09:06:43 +08:00
Fix quick actions and Share to
This commit is contained in:
@ -162,7 +162,7 @@ class _JournalAppState extends State<JournalApp> {
|
|||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
|
|
||||||
if (!Platform.isAndroid || !Platform.isIOS) {
|
if (!Platform.isAndroid && !Platform.isIOS) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ class _JournalAppState extends State<JournalApp> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _initShareSubscriptions() {
|
void _initShareSubscriptions() {
|
||||||
if (!Platform.isAndroid || !Platform.isIOS) {
|
if (!Platform.isAndroid && !Platform.isIOS) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user