mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 09:06:43 +08:00
Fix note editor opening on boot
Not sure why this broke with Flutter 2, but the fix is easy enough.
This commit is contained in:
@ -229,7 +229,9 @@ class _JournalAppState extends State<JournalApp> {
|
|||||||
|
|
||||||
void _initShareSubscriptions() {
|
void _initShareSubscriptions() {
|
||||||
var handleShare = () {
|
var handleShare = () {
|
||||||
if (_sharedText == null && _sharedImages == null) {
|
var noText = _sharedText == null || _sharedText.isEmpty;
|
||||||
|
var noImages = _sharedImages == null || _sharedImages.isEmpty;
|
||||||
|
if (noText && noImages) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user