mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 04:07:57 -06:00
fix: Add owner to labels
This commit is contained in:
@@ -79,7 +79,7 @@ class _DocumentDownloadButtonState extends State<DocumentDownloadButton> {
|
||||
break;
|
||||
}
|
||||
|
||||
if (Platform.isAndroid && androidInfo!.version.sdkInt! <= 29) {
|
||||
if (Platform.isAndroid && androidInfo!.version.sdkInt <= 29) {
|
||||
final isGranted = await askForPermission(Permission.storage);
|
||||
if (!isGranted) {
|
||||
return;
|
||||
|
||||
@@ -78,7 +78,7 @@ class _DocumentShareButtonState extends State<DocumentShareButton> {
|
||||
break;
|
||||
}
|
||||
|
||||
if (Platform.isAndroid && androidInfo!.version.sdkInt! < 30) {
|
||||
if (Platform.isAndroid && androidInfo!.version.sdkInt < 30) {
|
||||
final isGranted = await askForPermission(Permission.storage);
|
||||
if (!isGranted) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user