simplified code across the app and consolidated duplicated helpers
This commit is contained in:
@@ -19,7 +19,6 @@ class PendingShare {
|
||||
|
||||
bool get hasFiles => filePaths.isNotEmpty;
|
||||
bool get hasText => text != null && text!.isNotEmpty;
|
||||
bool get isEmpty => !hasFiles && !hasText;
|
||||
|
||||
/// True when [other] carries the same payload. The iOS Share Extension
|
||||
/// fires two `open(url)` requests per share (see ShareViewController), so
|
||||
|
||||
Reference in New Issue
Block a user