mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Remove redundant code
This commit is contained in:
parent
4fdc3540d4
commit
7de43bc074
@ -23,7 +23,6 @@ import java.util.ArrayList;
|
||||
import javax.inject.Inject;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
|
||||
import static org.kiwix.kiwixmobile.utils.LanguageUtils.getCurrentLocale;
|
||||
|
||||
@ -57,8 +56,6 @@ public class ErrorActivity extends BaseActivity {
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_kiwix_error);
|
||||
ButterKnife.bind(this);
|
||||
|
||||
Intent callingIntent = getIntent();
|
||||
|
||||
Bundle extras = callingIntent.getExtras();
|
||||
|
@ -107,7 +107,6 @@ import java.util.Locale;
|
||||
import javax.inject.Inject;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import butterknife.OnClick;
|
||||
import butterknife.OnLongClick;
|
||||
|
||||
@ -307,8 +306,6 @@ public class MainActivity extends BaseActivity implements WebViewCallback,
|
||||
|
||||
handleLocaleCheck();
|
||||
setContentView(R.layout.main);
|
||||
ButterKnife.bind(this);
|
||||
|
||||
setUpToolbar();
|
||||
|
||||
checkForRateDialog();
|
||||
|
Loading…
x
Reference in New Issue
Block a user