updated version
This commit is contained in:
parent
15f7fa9677
commit
4136579715
|
@ -33,7 +33,7 @@ subprojects {
|
|||
buildscript {
|
||||
ext {
|
||||
libVersions = [
|
||||
Kotlin : '1.1.0',
|
||||
Kotlin : '1.1.1',
|
||||
SupportLib : '25.2.0',
|
||||
MariotakuCommons: '0.9.11',
|
||||
RestFu : '0.9.42',
|
||||
|
|
|
@ -96,7 +96,7 @@ public class Status extends TwitterResponseObject implements Comparable<Status>,
|
|||
@JsonField(name = "in_reply_to_screen_name")
|
||||
String inReplyToScreenName;
|
||||
|
||||
@JsonField(name = "user")
|
||||
@JsonField(name = {"user", "friendica_owner"})
|
||||
User user;
|
||||
|
||||
@JsonField(name = "geo")
|
||||
|
|
|
@ -34,8 +34,8 @@ android {
|
|||
applicationId "org.mariotaku.twidere"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 25
|
||||
versionCode 299
|
||||
versionName '3.4.37'
|
||||
versionCode 300
|
||||
versionName '3.4.38'
|
||||
multiDexEnabled true
|
||||
|
||||
buildConfigField 'boolean', 'LEAK_CANARY_ENABLED', 'Boolean.parseBoolean("true")'
|
||||
|
|
|
@ -417,7 +417,7 @@ abstract class ParcelableStatusesAdapter(
|
|||
val indices = (data as ObjectCursor).indices as ParcelableStatusCursorIndices
|
||||
return readCursorValueAction(cursor, indices)
|
||||
}
|
||||
return readStatusValueAction(getStatus(position))
|
||||
return readStatusValueAction(getStatus(position, raw))
|
||||
}
|
||||
|
||||
private fun getStatus(position: Int, countIndex: Int, raw: Boolean = false): ParcelableStatus {
|
||||
|
|
|
@ -297,8 +297,9 @@ abstract class CursorActivitiesFragment : AbsActivitiesFragment() {
|
|||
refreshEnabled = true
|
||||
showContentOrError()
|
||||
|
||||
if (event.exception is GetStatusesTask.GetTimelineException && userVisibleHint) {
|
||||
Toast.makeText(context, event.exception.getToastMessage(context), Toast.LENGTH_SHORT).show()
|
||||
val exception = event.exception
|
||||
if (exception is GetStatusesTask.GetTimelineException && userVisibleHint) {
|
||||
Toast.makeText(context, exception.getToastMessage(context), Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -269,8 +269,9 @@ abstract class CursorStatusesFragment : AbsStatusesFragment() {
|
|||
refreshEnabled = true
|
||||
showContentOrError()
|
||||
|
||||
if (event.exception is GetStatusesTask.GetTimelineException && userVisibleHint) {
|
||||
Toast.makeText(context, event.exception.getToastMessage(context), Toast.LENGTH_SHORT).show()
|
||||
val exception = event.exception
|
||||
if (exception is GetStatusesTask.GetTimelineException && userVisibleHint) {
|
||||
Toast.makeText(context, exception.getToastMessage(context), Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -176,10 +176,6 @@ class StreamingService : BaseService() {
|
|||
stopForeground(true)
|
||||
}
|
||||
|
||||
private fun buildNotification() {
|
||||
|
||||
}
|
||||
|
||||
private fun newStreamingRunnable(account: AccountDetails, preferences: AccountPreferences): StreamingRunnable<*>? {
|
||||
when (account.type) {
|
||||
AccountType.TWITTER -> {
|
||||
|
|
Loading…
Reference in New Issue