Skip to content

Commit 91dd30b

Browse files
committed
[demo] Fixed label id
1 parent 5c574d0 commit 91dd30b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

demo/src/main/java/com/mta/tehreer/demo/LabelWidgetActivity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2016-2018 Muhammad Tayyab Akram
2+
* Copyright (C) 2016-2019 Muhammad Tayyab Akram
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -38,12 +38,12 @@ protected void onCreate(Bundle savedInstanceState) {
3838
String htmlString = getResources().getString(R.string.article_detail);
3939
Spanned articleSpanned = Html.fromHtml(htmlString);
4040

41-
LinkableLabel nastaleeqLabel = findViewById(R.id.label_nastaleeq);
42-
nastaleeqLabel.setSpanned(articleSpanned);
41+
LinkableLabel articleLabel = findViewById(R.id.label_article);
42+
articleLabel.setSpanned(articleSpanned);
4343
}
4444

4545
@Override
46-
public boolean onSupportNavigateUp(){
46+
public boolean onSupportNavigateUp() {
4747
onBackPressed();
4848
return true;
4949
}

0 commit comments

Comments
 (0)