mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Simplify ShowHabitActivity
This commit is contained in:
@@ -23,6 +23,8 @@ import android.support.annotation.*;
|
||||
|
||||
import org.isoron.uhabits.core.preferences.*;
|
||||
|
||||
import javax.inject.*;
|
||||
|
||||
public class AboutBehavior
|
||||
{
|
||||
private int developerCountdown = 5;
|
||||
@@ -33,6 +35,7 @@ public class AboutBehavior
|
||||
@NonNull
|
||||
private Screen screen;
|
||||
|
||||
@Inject
|
||||
public AboutBehavior(@NonNull Preferences prefs, @NonNull Screen screen)
|
||||
{
|
||||
this.prefs = prefs;
|
||||
|
||||
Reference in New Issue
Block a user