引っ越ししたアカウントのプロフを見て閉じて別のプロフを開くと余計なメッセージが残っているバグを修正
This commit is contained in:
parent
642a74d3cd
commit
f3c134f52b
|
@ -24,7 +24,7 @@
|
|||
</value>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
|
|
@ -12,8 +12,8 @@ android {
|
|||
minSdkVersion 21
|
||||
targetSdkVersion 27
|
||||
|
||||
versionCode 218
|
||||
versionName "2.1.8"
|
||||
versionCode 219
|
||||
versionName "2.1.9"
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ internal class ViewHolderHeaderProfile(
|
|||
showColor()
|
||||
|
||||
llMoved.visibility = View.GONE
|
||||
tvMovedAcct.visibility = View.GONE
|
||||
tvMoved.visibility = View.GONE
|
||||
|
||||
if(who == null) {
|
||||
tvCreated.text = ""
|
||||
|
@ -223,7 +223,7 @@ internal class ViewHolderHeaderProfile(
|
|||
activity,
|
||||
R.string.account_moved_to
|
||||
)
|
||||
|
||||
|
||||
tvMoved.text = caption
|
||||
moved_caption_invalidator.register(caption)
|
||||
|
||||
|
@ -349,9 +349,9 @@ internal class ViewHolderHeaderProfile(
|
|||
override fun onViewRecycled() {
|
||||
}
|
||||
|
||||
fun updateRelativeTime(){
|
||||
fun updateRelativeTime() {
|
||||
val who = this.who
|
||||
if( who != null ) {
|
||||
if(who != null) {
|
||||
tvCreated.text = TootStatus.formatTime(tvCreated.context, who.time_created_at, true)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue