mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Remove useless code
This commit is contained in:
@@ -27,11 +27,7 @@ public class ShowHabitActivity extends Activity
|
||||
getActionBar().setTitle(habit.name);
|
||||
|
||||
if (android.os.Build.VERSION.SDK_INT >= 21)
|
||||
{
|
||||
getActionBar().setElevation(5);
|
||||
getActionBar().setBackgroundDrawable(new ColorDrawable(habit.color));
|
||||
}
|
||||
|
||||
|
||||
setContentView(R.layout.show_habit_activity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user