From 8ea84c99ef84a38b36e68c8488294068305b6eee Mon Sep 17 00:00:00 2001 From: meancoot Date: Mon, 16 Dec 2013 18:15:50 -0500 Subject: [PATCH] =?UTF-8?q?(iOS)=20Make=20the=20refresh=20button=20on=20th?= =?UTF-8?q?e=20file=20browser=20work=20=E2=80=98better=E2=80=99.=20(It=20D?= =?UTF-8?q?ID=20work=20before,=20by=20the=20time=20you=20restarted=20the?= =?UTF-8?q?=20app=20and=20browsed=20back=20to=20the=20directory=20the=20li?= =?UTF-8?q?sting=20would=20be=20updated.=20This=20just=20makes=20it=20quic?= =?UTF-8?q?ker.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apple/iOS/browser.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apple/iOS/browser.m b/apple/iOS/browser.m index 30e0672151..b6ea89ee82 100644 --- a/apple/iOS/browser.m +++ b/apple/iOS/browser.m @@ -147,6 +147,11 @@ static void file_action(enum file_action action, NSString* source, NSString* tar [self browseTo:@"/"]; } +- (void)refresh +{ + [self browseTo:_path]; +} + - (void)browseTo:(NSString*)path { _path = path;