blob: 7e22d562d405a56e2c6285eae5d98e8fe8d6ab2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package net.miz_hi.smileessence.command.status.impl;
import net.miz_hi.smileessence.command.IConfirmable;
import net.miz_hi.smileessence.command.status.StatusCommand;
import net.miz_hi.smileessence.model.status.tweet.TweetModel;
public class StatusCommandRetweet extends StatusCommand implements IConfirmable
{
public StatusCommandRetweet(TweetModel status)
{
super(status);
}
@Override
public String getName()
{
return "リツイート";
}
@Override
public void workOnUiThread()
{
status.retweet();
}
@Override
public boolean getDefaultVisibility()
{
return !status.getOriginal().user.isProtected;
}
}
|