v1.4.4 - Added custom TLE file import from file/url and PolarView rotation using sensors data

This commit is contained in:
Arty Bishop committed 2020-05-27 15:37:17 +01:00
1 parent d8e4bd7eb7
commit e38ad2fe8b
14 files changed
+37 -14

No files matched your search

@@ -40,7 +40,7 @@ class RemoteDataSource @Inject constructor(
withContext(Dispatchers.IO) {
urlList.forEach {
val request = Request.Builder().url(it.url).build()
val stream = client.newCall(request).execute().body()?.byteStream()
val stream = client.newCall(request).execute().body?.byteStream()
streamTable[it.url] = stream
}
}
@@ -100,12 +100,12 @@ class TransmitterAdapter : RecyclerView.Adapter<TransmitterAdapter.TransmitterHo
if (transmitter.isInverted) {
binding.transInverted.text = String.format(
context.getString(R.string.trans_inverted),
context.getString(android.R.string.yes)
context.getString(R.string.btn_yes)
)
} else {
binding.transInverted.text = String.format(
context.getString(R.string.trans_inverted),
context.getString(android.R.string.no)
context.getString(R.string.btn_no)
)
}
}