mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
close the app when no permission to storage is given
This commit is contained in:
@ -117,6 +117,7 @@ public class MainActivity extends AppCompatActivity
|
||||
initializeGallery();
|
||||
} else {
|
||||
Toast.makeText(this, getResources().getString(R.string.no_permissions), Toast.LENGTH_SHORT).show();
|
||||
finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user