Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Updates before release -> v1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
maxieds committed Oct 20, 2020
1 parent 43693aa commit 9df6b5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static LiveLoggerActivity getLiveLoggerInstance() {
private static View liveLoggerActivityMainContentView = null;

public static View getContentView(@IdRes int viewResId) {
View mainContentView = LiveLoggerActivity.getLiveLoggerInstance().findViewById(android.R.id.content);
View mainContentView = liveLoggerActivityMainContentView;
if(mainContentView == null || mainContentView.findViewById(viewResId) == null) {
mainContentView = LiveLoggerActivity.getLiveLoggerInstance().findViewById(android.R.id.content).getRootView();
if (mainContentView == null || mainContentView.findViewById(viewResId) == null) {
Expand All @@ -98,9 +98,9 @@ public static View getContentView(@IdRes int viewResId) {
if (mainContentView == null || mainContentView.findViewById(viewResId) == null) {
mainContentView = LiveLoggerActivity.getInstance().findViewById(viewResId);
if (mainContentView == null) {
mainContentView = liveLoggerActivityMainContentView;
mainContentView = LiveLoggerActivity.getLiveLoggerInstance().findViewById(android.R.id.content);;
if (mainContentView != null) {
Log.i(TAG, "liveLoggerActivityMainContentView");
Log.i(TAG, "findViewById(android.R.id.content)");
return mainContentView.findViewById(viewResId);
} else {
return null;
Expand All @@ -119,7 +119,7 @@ public static View getContentView(@IdRes int viewResId) {
return mainContentView.findViewById(viewResId);
}
}
Log.i(TAG, "findViewById(android.R.id.content)");
Log.i(TAG, "liveLoggerActivityMainContentView");
return mainContentView.findViewById(viewResId);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public boolean changeMenuItemDisplay(int mitemIdx) {
"Register View"
},
new int[] {
R.layout.scripting_tab_load_import,
R.layout.tab_under_construction, // R.layout.scripting_tab_load_import,
R.layout.tab_under_construction,
R.layout.tab_under_construction

Expand Down

0 comments on commit 9df6b5e

Please sign in to comment.