nativescript-timedatepicker icon indicating copy to clipboard operation
nativescript-timedatepicker copied to clipboard

action bar title not showing after click on the timedatepicker button

Open norainmatidris opened this issue 5 years ago • 0 comments

Hi,

i currently have app which use the timedatepicker.

after click on the timedatepicker, it will refresh the page. however, after refresh, my action bar is missing. why did this happen? this only happen for ios. for android is working fine.

exports.onbtnStartTap = function(args) {
var r_year;
var r_month;
var r_day;
var r_hour;
var r_hour;
var r_minute; var mCallback2 = function(result) {
    if (result) {
        r_hour = result.substring(11, 13);
        r_minute = result.substring(14, 16);
        btnStart.text = r_year + "-" + r_month + "-" + r_day + " " + r_hour + ":" + r_minute + ":00";
        setDate();
        refreshPage();
    }
};
var mCallback = function(result) {
    if (result) {
        PickerManager.registerCallback(mCallback2, null, null);
        PickerManager.init(mCallback2, null, null);
        //console.log("runhere showTimePickerDialog");
        PickerManager.showTimePickerDialog();
        r_year = result.substring(6, 10);
        r_month = result.substring(3, 5);
        r_day = result.substring(0, 2);
    }
};

` Screen Shot 2019-05-09 at 11 10 22 AM Screen Shot 2019-05-09 at 11 10 32 AM Screen Shot 2019-05-09 at 11 10 42 AM

norainmatidris avatar May 09 '19 03:05 norainmatidris