mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-26 16:46:51 +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() {
|
||||
var handleShare = () {
|
||||
if (_sharedText == null && _sharedImages == null) {
|
||||
var noText = _sharedText == null || _sharedText.isEmpty;
|
||||
var noImages = _sharedImages == null || _sharedImages.isEmpty;
|
||||
if (noText && noImages) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user