mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-15 10:26:53 -04:00
more indenting
This commit is contained in:
parent
0e769fe47a
commit
d51759b4b9
@ -92,7 +92,8 @@ public class LibraryFragment extends Fragment
|
||||
|
||||
private DownloadServiceConnection mConnection = new DownloadServiceConnection();
|
||||
|
||||
@Inject ConnectivityManager conMan;
|
||||
@Inject
|
||||
ConnectivityManager conMan;
|
||||
|
||||
private ZimManageActivity faActivity;
|
||||
|
||||
@ -257,7 +258,9 @@ public class LibraryFragment extends Fragment
|
||||
}
|
||||
|
||||
if (KiwixMobileActivity.wifiOnly && !NetworkUtils.isWiFi(getContext())) {
|
||||
DownloadFragment.showNoWiFiWarning(getContext(), () -> {downloadFile((Book) parent.getAdapter().getItem(position));});
|
||||
DownloadFragment.showNoWiFiWarning(getContext(), () -> {
|
||||
downloadFile((Book) parent.getAdapter().getItem(position));
|
||||
});
|
||||
} else {
|
||||
downloadFile((Book) parent.getAdapter().getItem(position));
|
||||
}
|
||||
@ -323,7 +326,8 @@ public class LibraryFragment extends Fragment
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onServiceDisconnected(ComponentName arg0) { }
|
||||
public void onServiceDisconnected(ComponentName arg0) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user