blob: 759ca16d6eb669af4b945cfe3bd1a715b236e9d9 (
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.IHideable;
import net.miz_hi.smileessence.command.status.StatusCommand;
import net.miz_hi.smileessence.model.status.tweet.TweetModel;
public class StatusCommandUnfavorite extends StatusCommand implements IHideable
{
public StatusCommandUnfavorite(TweetModel status)
{
super(status);
}
@Override
public String getName()
{
return "お気に入りを削除する";
}
@Override
public void workOnUiThread()
{
status.unfavorite();
}
@Override
public boolean getDefaultVisibility()
{
return true; //todo ふぁぼっている時だけ
}
}
|