fix some errors
This commit is contained in:
parent
e266504076
commit
e09ff00da5
|
@ -158,7 +158,7 @@ public class AccountUI extends FCLCommonUI implements View.OnClickListener {
|
|||
accountListAdapter.notifyDataSetChanged();
|
||||
}
|
||||
name.setText(Accounts.getSelectedAccount() == null ? getContext().getString(R.string.account_state_no_account) : Accounts.getSelectedAccount().getUsername());
|
||||
description.setVisibility(Accounts.getSelectedAccount() == null ? View.GONE : View.VISIBLE);
|
||||
description.setVisibility(Accounts.getSelectedAccount() == null ? View.INVISIBLE : View.VISIBLE);
|
||||
if (Accounts.getSelectedAccount() != null) {
|
||||
String loginTypeName = Accounts.getLocalizedLoginTypeName(getContext(), Accounts.getAccountFactory(Accounts.getSelectedAccount()));
|
||||
StringProperty subtitle = new SimpleStringProperty();
|
||||
|
|
|
@ -75,6 +75,6 @@
|
|||
|
||||
<string name="message_cancelled">操作已取消</string>
|
||||
|
||||
<string name="profile_shared">共有目录</string>
|
||||
<string name="profile_shared">公有目录</string>
|
||||
<string name="profile_private">私有目录</string>
|
||||
</resources>
|
Loading…
Reference in New Issue