Skip to content

Commit

Permalink
[Exposed-UI]: fix crash on kitkat of vectordrawable.
Browse files Browse the repository at this point in the history
  • Loading branch information
维术 committed Jan 31, 2018
1 parent 4cb18ee commit fe19a17
Showing 1 changed file with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,23 @@ public class AboutActivity extends VActivity {
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

View aboutPage = new AboutPage(this)
AboutPage page = new AboutPage(this)
.isRTL(false)
.setImage(R.mipmap.ic_launcher)
.addItem(getVersionElement())
.addItem(getFeedbackElement())
.addItem(getFeedbackWechatElement())
.addItem(getThanksElement())
.addItem(getDonateElement())
.addEmail("[email protected]")
.addWebsite("https://github.com/android-hacker/VAExposed")
.addGitHub("tiann")
.addItem(getCopyRightsElement())
.create();
.addItem(getFeedbackWechatElement());

try {
page.addItem(getThanksElement())
.addItem(getDonateElement())
.addEmail("[email protected]")
.addWebsite("https://github.com/android-hacker/VAExposed")
.addGitHub("tiann")
.addItem(getCopyRightsElement());
} catch (Throwable ignored) {
}
View aboutPage = page.create();
setContentView(aboutPage);
}

Expand Down

0 comments on commit fe19a17

Please sign in to comment.