Results 1 to 3 of 3

Thread: setting statusBarStyle meta tag

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    17
    Vote Rating
    0
      0  

    Default setting statusBarStyle meta tag

    shouldn't the lines:

    //status bar style
    if (Ext.isString(statusBarStyle)) {
    addMeta('apple-mobile-web-app-status-bar-style', 'statusBarStyle');
    }

    be

    //status bar style
    if (Ext.isString(statusBarStyle)) {
    addMeta('apple-mobile-web-app-status-bar-style', statusBarStyle);
    }

    ??

    (without the single quotes around statusBarStyle)

    The funny thing is that it looks right in the docs: http://docs.sencha.com/touch/2-0/sou...t-method-setup but statusBarStyle is quoted in the source. Am I hallucinating?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Looks like this is already fixed for the 2.0.1 release, this is what the code looks like now:

    Code:
            if (Ext.isString(statusBarStyle)) {
                addMeta('apple-mobile-web-app-status-bar-style', statusBarStyle);
            }
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2010
    Posts
    17
    Vote Rating
    0
      0  

    Default

    great!
    Yeah, I forgot to mention I was on 2.0.0 (obviously, since 2.0.1 isn't out yet)...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •