mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Android TabView should use tabTextColorProperty instead of colorProperty just like in iOS
This commit is contained in:
@@ -4,7 +4,6 @@ import helper = require("../helper");
|
||||
import labelModule = require("ui/label");
|
||||
import stackLayoutModule = require("ui/layouts/stack-layout");
|
||||
import tabViewTestsNative = require("./tab-view-tests-native");
|
||||
import style = require("ui/styling/style");
|
||||
import { resetStyleProperties } from "ui/core/view";
|
||||
|
||||
// Using a TabView requires the "ui/tab-view" module.
|
||||
@@ -331,7 +330,7 @@ export class TabViewTest extends testModule.UITest<tabViewModule.TabView> {
|
||||
assertFontsAreEqual(tabViewTestsNative.getNativeFont(this.testView), nativeFont, "Font must be bold 12 monospace after rebinding items.");
|
||||
//console.log(`>>>>>>>>>>>>> nativeFont: ${fontToString(nativeFont)}`);
|
||||
|
||||
//console.log(`>>>>>>>>>>>>> RESET`);
|
||||
console.log(`>>>>>>>>>>>>> RESET`);
|
||||
resetStyleProperties(this.testView.style);
|
||||
assertFontsAreEqual(tabViewTestsNative.getNativeFont(this.testView), originalFont, "Font must be the original one after resetting the style.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user