mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 12:34:24 +00:00
[ios] Switching to iOS 15 as the minimum
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
35cda6d342
commit
78b54acad4
@@ -259,9 +259,6 @@ using namespace osm_auth_ios;
|
||||
- (void)disableDownloadIndicator {
|
||||
--m_activeDownloadsCounter;
|
||||
if (m_activeDownloadsCounter <= 0) {
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
UIApplication.sharedApplication.networkActivityIndicatorVisible = NO;
|
||||
});
|
||||
m_activeDownloadsCounter = 0;
|
||||
if (UIApplication.sharedApplication.applicationState == UIApplicationStateBackground) {
|
||||
[UIApplication.sharedApplication endBackgroundTask:m_backgroundTask];
|
||||
@@ -272,9 +269,6 @@ using namespace osm_auth_ios;
|
||||
|
||||
- (void)enableDownloadIndicator {
|
||||
++m_activeDownloadsCounter;
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
UIApplication.sharedApplication.networkActivityIndicatorVisible = YES;
|
||||
});
|
||||
}
|
||||
|
||||
+ (void)customizeAppearanceForNavigationBar:(UINavigationBar *)navigationBar {
|
||||
|
||||
Reference in New Issue
Block a user